Hello community, here is the log from the commit of package python-rpm-macros for openSUSE:Factory checked in at 2017-07-11 08:34:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rpm-macros (Old) and /work/SRC/openSUSE:Factory/.python-rpm-macros.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rpm-macros" Tue Jul 11 08:34:26 2017 rev:8 rq:508139 version:2017.06.29.107ac7a Changes: -------- --- /work/SRC/openSUSE:Factory/python-rpm-macros/python-rpm-macros.changes 2017-07-04 13:33:17.695286011 +0200 +++ /work/SRC/openSUSE:Factory/.python-rpm-macros.new/python-rpm-macros.changes 2017-07-11 08:34:26.250724956 +0200 @@ -1,0 +2,6 @@ +Thu Jun 29 13:20:02 UTC 2017 - [email protected] + +- version bump to 2017.06.29.107ac7a +- fix skip_python2 in environment where python2 is not actually present + +------------------------------------------------------------------- Old: ---- python-rpm-macros-2017.06.21.6641889.tar.bz2 New: ---- python-rpm-macros-2017.06.29.107ac7a.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rpm-macros.spec ++++++ --- /var/tmp/diff_new_pack.bJpJFq/_old 2017-07-11 08:34:26.766652169 +0200 +++ /var/tmp/diff_new_pack.bJpJFq/_new 2017-07-11 08:34:26.770651605 +0200 @@ -17,7 +17,7 @@ Name: python-rpm-macros -Version: 2017.06.21.6641889 +Version: 2017.06.29.107ac7a Release: 0 Summary: RPM macros for building of Python modules License: WTFPL ++++++ python-rpm-macros-2017.06.21.6641889.tar.bz2 -> python-rpm-macros-2017.06.29.107ac7a.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-rpm-macros-2017.06.21.6641889/macros.lua new/python-rpm-macros-2017.06.29.107ac7a/macros.lua --- old/python-rpm-macros-2017.06.21.6641889/macros.lua 2017-06-21 15:16:14.000000000 +0200 +++ new/python-rpm-macros-2017.06.29.107ac7a/macros.lua 2017-06-29 15:15:41.000000000 +0200 @@ -39,16 +39,11 @@ -- detect `flavor`, used for evaluating %ifmacros if is_called_python then - if old_python2 then - -- in old python2, %ifpython2 should be true in "python-" - flavor = "python2" - else - -- otherwise, it is either system_python (if found in %pythons) - -- or the last entry of %pythons - for _,py in ipairs(pythons) do - flavor = py - if flavor == system_python then break end - end + -- either system_python (if found in %pythons) + -- or the last entry of %pythons + for _,py in ipairs(pythons) do + flavor = py + if flavor == system_python then break end end else -- specname is something other than "python-", and it is a valid
