diff --git a/dmlite.spec b/dmlite.spec index ff60b31..647f6be 100644 --- a/dmlite.spec +++ b/dmlite.spec @@ -31,7 +31,7 @@ %if %{?fedora}%{!?fedora:99} <= 30 %global py_app_version 2 - %global with_python2_libs 0 + %global with_python2_libs 1 %global with_python3_libs 1 %endif @@ -41,12 +41,18 @@ %global with_python3_libs 0 %endif -%if %{?rhel}%{!?rhel:0} >= 7 +%if %{?rhel}%{!?rhel:0} == 7 %global py_app_version 2 %global with_python2_libs 1 %global with_python3_libs 1 %endif +%if %{?rhel}%{!?rhel:0} >= 8 + %global py_app_version 3 + %global with_python2_libs 0 + %global with_python3_libs 1 +%endif + %if %{?rhel}%{!?rhel:99} <= 7 # no number %undefine python2_pkgversion diff --git a/sources b/sources index 71a7a8a..2d52a75 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dmlite-1.13.2.tar.gz) = 256f50b3d9c307ace90e9ab243dc70c5bcf986050b701caac46c40b7246cdc904c17f56c0c25a7fb983df5368339e5bd5a0cee1208fe5bc72af92e608755e46c +SHA512 (dmlite-1.13.2.tar.gz) = 92c05c08b53ffd8a0dbed6f9d81f715049ec5f187f8a66469fd20a95f548f97582d95d84675275e80afdf6577d0377b074eccacda52bd73c4ded3053e9cde844