Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-rpm-macros for
openSUSE:Factory checked in at 2026-09-10 15:40:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rpm-macros (Old)
and /work/SRC/openSUSE:Factory/.python-rpm-macros.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rpm-macros"
Thu Sep 10 15:40:15 2026 rev:64 rq:1376598 version:20260909.65d2791
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rpm-macros/python-rpm-macros.changes
2026-08-25 13:17:37.956763387 +0200
+++
/work/SRC/openSUSE:Factory/.python-rpm-macros.new.1265/python-rpm-macros.changes
2026-09-10 15:40:21.487411846 +0200
@@ -1,0 +2,12 @@
+Wed Sep 09 10:00:28 UTC 2026 - [email protected]
+
+- Update to version 20260909.65d2791:
+ * Ensure that prio is always an integer number
+
+-------------------------------------------------------------------
+Tue Sep 08 09:44:51 UTC 2026 - [email protected]
+
+- Update to version 20260908.1ec0542:
+ * Provide a primary_python fallback for legacy projects
+
+-------------------------------------------------------------------
Old:
----
python-rpm-macros-20260821.08c5ec8.tar.xz
New:
----
python-rpm-macros-20260909.65d2791.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-rpm-macros.spec ++++++
--- /var/tmp/diff_new_pack.m5fk3t/_old 2026-09-10 15:40:22.666461316 +0200
+++ /var/tmp/diff_new_pack.m5fk3t/_new 2026-09-10 15:40:22.669461442 +0200
@@ -17,7 +17,7 @@
Name: python-rpm-macros
-Version: 20260821.08c5ec8
+Version: 20260909.65d2791
Release: 0
Summary: RPM macros for building of Python modules
License: WTFPL
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.m5fk3t/_old 2026-09-10 15:40:22.728463917 +0200
+++ /var/tmp/diff_new_pack.m5fk3t/_new 2026-09-10 15:40:22.732464085 +0200
@@ -1,6 +1,6 @@
-mtime: 1787317097
-commit: 7bfe67b9ed98463100a5108e9f88e9ec33abea7241c9b5769a8f5222f38dbbdc
+mtime: 1788948059
+commit: c7f690ba9c3fe814c9c028e41a62f0e21297a622916649a186a9e5a58ea30a97
url: https://src.opensuse.org/python-interpreters/python-rpm-macros
-revision: 7bfe67b9ed98463100a5108e9f88e9ec33abea7241c9b5769a8f5222f38dbbdc
+revision: c7f690ba9c3fe814c9c028e41a62f0e21297a622916649a186a9e5a58ea30a97
projectscmsync: https://src.opensuse.org/python-interpreters/_ObsPrj
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.m5fk3t/_old 2026-09-10 15:40:22.803467064 +0200
+++ /var/tmp/diff_new_pack.m5fk3t/_new 2026-09-10 15:40:22.806467190 +0200
@@ -3,6 +3,6 @@
<param
name="url">git://github.com/openSUSE/python-rpm-macros.git</param>
<param
name="changesrevision">80d37568d9732beb7fcc2cf27c5c08f9c01fade1</param></service><service
name="tar_scm">
<param
name="url">https://github.com/openSUSE/python-rpm-macros.git</param>
- <param
name="changesrevision">08c5ec8da9157ba4621c71c6544b1b1c2a75d296</param></service></servicedata>
+ <param
name="changesrevision">65d2791e10fd853383f226225287ee10ce00f578</param></service></servicedata>
(No newline at EOF)
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-09-09 12:00:59.000000000 +0200
@@ -0,0 +1,9 @@
+.assets
+_build.*
+*.obscpio
+*.obsinfo
+.osc
+.pbuild
+_service:*
+python-rpm-macros-*-build/
+python-rpm-macros/
++++++ python-rpm-macros-20260821.08c5ec8.tar.xz ->
python-rpm-macros-20260909.65d2791.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-rpm-macros-20260821.08c5ec8/README.md
new/python-rpm-macros-20260909.65d2791/README.md
--- old/python-rpm-macros-20260821.08c5ec8/README.md 2026-08-21
14:39:03.000000000 +0200
+++ new/python-rpm-macros-20260909.65d2791/README.md 2026-09-09
08:49:43.000000000 +0200
@@ -12,8 +12,9 @@
__``<flavor>``__ is a kind of python interpreter. At this point, we recognize
the following flavors:
`python2`, `python3`, `python38`, `python39`, `python310`, `python311` and
`pypy3`. `python3` points to the default of
-co-installable flavors `python3<M>` where `<M>` is the minor version number.
The default is
-specified not by python-rpm-macros but by the obs project definition in
`%primary_python`.
+co-installable flavors `python3<M>` where `<M>` is the minor version number.
The OBS project
+normally selects the default through `%primary_python`. If it does not define
the macro,
+python-rpm-macros falls back to the legacy unversioned `python3` flavor.
The flavor is used as a prefix for all flavor-specific macros.
Some macros are redefined with "short" flavor for compatibility
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-rpm-macros-20260821.08c5ec8/flavor.in
new/python-rpm-macros-20260909.65d2791/flavor.in
--- old/python-rpm-macros-20260821.08c5ec8/flavor.in 2026-08-21
14:39:03.000000000 +0200
+++ new/python-rpm-macros-20260909.65d2791/flavor.in 2026-09-09
08:49:43.000000000 +0200
@@ -124,13 +124,6 @@
%#FLAVOR#_fix_shebang_path(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=)
\
myargs="%{**}" \
_pyexec="%__#FLAVOR#" \
-case "${_pyexec}" in \
- */python3) \
- _v="$(rpm -E '%{primary_python}')" \
- _v="${_v#python}" \
- _pyexec=$(printf "%{_bindir}/python%s.%s" "${_v%${_v#?}}" "${_v#?}") \
- ;; \
-esac \
for f in ${myargs}; do \
if [ -f "$f" -a -x "$f" -a -w "$f" ] \
then \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-rpm-macros-20260821.08c5ec8/functions.lua
new/python-rpm-macros-20260909.65d2791/functions.lua
--- old/python-rpm-macros-20260821.08c5ec8/functions.lua 2026-08-21
14:39:03.000000000 +0200
+++ new/python-rpm-macros-20260909.65d2791/functions.lua 2026-09-09
08:49:43.000000000 +0200
@@ -112,7 +112,7 @@
-- increase priority for primary python3 flavor
local provides = rpm.expand("%" .. flavor .. "_provides") .. " "
if provides:match("python3%s") then
- prio = prio + 1000
+ prio = math.floor(prio + 1000)
end
return prio
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-rpm-macros-20260821.08c5ec8/macros/010-common-defs
new/python-rpm-macros-20260909.65d2791/macros/010-common-defs
--- old/python-rpm-macros-20260821.08c5ec8/macros/010-common-defs
2026-08-21 14:39:03.000000000 +0200
+++ new/python-rpm-macros-20260909.65d2791/macros/010-common-defs
2026-09-09 08:49:43.000000000 +0200
@@ -1,5 +1,6 @@
%system_python python2
%python_for_executables python3
+%primary_python python3
##### common functionality #####