diff --git a/net-snmp.changes b/net-snmp.changes index ad81e2c..3b8d61f 100644 --- a/net-snmp.changes +++ b/net-snmp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 25 16:27:58 UTC 2021 - Ben Greiner + +- Can't assume non-existence of python38 macros in Leap. + gh#openSUSE/python-rpm-macros#107 + Test for suse_version instead. Only Tumbleweed has and needs the + python_subpackage_only support. + ------------------------------------------------------------------- Mon Jan 18 21:31:18 UTC 2021 - Dirk Müller diff --git a/net-snmp.spec b/net-snmp.spec index f296488..adeca34 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -79,8 +79,8 @@ Requires(post): %fillup_prereq BuildRequires: libsensors4-devel %endif -%if 0%{?python38_version_nodots} -# if python multiflavor is in place yet, use it to generate subpackages +%if 0%{?suse_version} >= 1550 +# TW: generate subpackages for every python3 flavor %define python_subpackage_only 1 %python_subpackages %else