commit python-rpm-macros for openSUSE:Factory
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 2024-06-19 16:36:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rpm-macros (Old) and /work/SRC/openSUSE:Factory/.python-rpm-macros.new.18349 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-rpm-macros" Wed Jun 19 16:36:17 2024 rev:57 rq:1181469 version:20240618.1e386da Changes: -------- --- /work/SRC/openSUSE:Factory/python-rpm-macros/python-rpm-macros.changes 2024-06-04 12:49:34.776448515 +0200 +++ /work/SRC/openSUSE:Factory/.python-rpm-macros.new.18349/python-rpm-macros.changes 2024-06-19 16:36:22.152947156 +0200 @@ -1,0 +2,14 @@ +Tue Jun 18 10:24:42 UTC 2024 - mcepl@cepl.eu + +- Update to version 20240618.1e386da: + * Fix python_clone sed regex + +------------------------------------------------------------------- +Mon Jun 17 06:42:43 UTC 2024 - mcepl@cepl.eu + +- Update to version 20240614.02920b8: + * Make sure that RPM_BUILD_ROOT env is set + * don't eliminate any cmdline arguments in the shebang line + * Create python313 macros + +------------------------------------------------------------------- Old: ---- python-rpm-macros-20240415.c664b45.tar.xz New: ---- python-rpm-macros-20240618.1e386da.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rpm-macros.spec ++++++ --- /var/tmp/diff_new_pack.b1h6N2/_old 2024-06-19 16:36:24.181019712 +0200 +++ /var/tmp/diff_new_pack.b1h6N2/_new 2024-06-19 16:36:24.193020141 +0200 @@ -17,7 +17,7 @@ Name: python-rpm-macros -Version: 20240415.c664b45 +Version: 20240618.1e386da Release: 0 Summary: RPM macros for building of Python modules License: WTFPL ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.b1h6N2/_old 2024-06-19 16:36:24.481030445 +0200 +++ /var/tmp/diff_new_pack.b1h6N2/_new 2024-06-19 16:36:24.525032019 +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">c664b45d00b8f10a956c84737de6e719453e0174</param></service></servicedata> + <param name="changesrevision">1e386dafebcdf27683eaa7d39c0ef7c735931089</param></service></servicedata> (No newline at EOF) ++++++ python-rpm-macros-20240415.c664b45.tar.xz -> python-rpm-macros-20240618.1e386da.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-rpm-macros-20240415.c664b45/compile-macros.sh new/python-rpm-macros-20240618.1e386da/compile-macros.sh --- old/python-rpm-macros-20240415.c664b45/compile-macros.sh 2024-04-15 09:32:44.000000000 +0200 +++ new/python-rpm-macros-20240618.1e386da/compile-macros.sh 2024-06-18 12:23:32.000000000 +0200 @@ -2,7 +2,7 @@ # The set of flavors for which we produce macros. Not identical to # the buildset predefined for specific distributions (see below) -FLAVORS="python2 python3 python38 python39 python310 python311 python312 pypy3" +FLAVORS="python2 python3 python38 python39 python310 python311 python312 python313 pypy3" ### flavor-specific: generate from flavor.in for flavor in $FLAVORS; do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-rpm-macros-20240415.c664b45/flavor.in new/python-rpm-macros-20240618.1e386da/flavor.in --- old/python-rpm-macros-20240415.c664b45/flavor.in 2024-04-15 09:32:44.000000000 +0200 +++ new/python-rpm-macros-20240618.1e386da/flavor.in 2024-06-18 12:23:32.000000000 +0200 @@ -111,7 +111,7 @@ %#FLAVOR#_fix_shebang_path(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=) \ myargs="%{**}" \ for f in ${myargs}; do \ - [ -f $f ] && sed -i "1s@#\\!.*python.*@#\\!$(realpath %__#FLAVOR#)@" $f \ + [ -f $f ] && sed -i "1s@#\\!.*python\\S*@#\\!$(realpath %__#FLAVOR#)@" $f \ done # Alternative entries in file section diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-rpm-macros-20240415.c664b45/macros/010-common-defs new/python-rpm-macros-20240618.1e386da/macros/010-common-defs --- old/python-rpm-macros-20240415.c664b45/macros/010-common-defs 2024-04-15 09:32:44.000000000 +0200 +++ new/python-rpm-macros-20240618.1e386da/macros/010-common-defs 2024-06-18 12:23:32.000000000 +0200 @@ -3,8 +3,8 @@ ##### common functionality ##### -%_python_sysconfig_path() %([ -x %1 ] && %1 -c "import sysconfig as s; print(s.get_paths().get('%2'))" || echo "!!_{%1}_not_installed_!!") -%_python_sysconfig_var() %([ -x %1 ] && %1 -c "import sysconfig as s; print(s.get_config_var('%2'))" || echo "!!_{%1}_not_installed_!!") +%_python_sysconfig_path() %([ -x %1 ] && RPM_BUILD_ROOT="%{buildroot}" %1 -c "import sysconfig as s; print(s.get_paths().get('%2'))" || echo "!!_{%1}_not_installed_!!") +%_python_sysconfig_var() %([ -x %1 ] && RPM_BUILD_ROOT="%{buildroot}" %1 -c "import sysconfig as s; print(s.get_config_var('%2'))" || echo "!!_{%1}_not_installed_!!") %_rec_macro_helper %{lua: rpm.define("_rec_macro_helper %{nil}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-rpm-macros-20240415.c664b45/macros.lua new/python-rpm-macros-20240618.1e386da/macros.lua --- old/python-rpm-macros-20240415.c664b45/macros.lua 2024-04-15 09:32:44.000000000 +0200 +++ new/python-rpm-macros-20240618.1e386da/macros.lua 2024-06-18 12:23:32.000000000 +0200 @@ -497,7 +497,7 @@ local binsuffix = rpm.expand("%" .. python .. "_bin_suffix") link,name,path = python_alternative_names(param, binsuffix, true) print(rpm.expand(string.format("cp %s %s\n", param, path))) - print(rpm.expand(string.format("sed -ri \"1s@#!.*python.*@#!%s@\" %s\n", "$(realpath %__" .. python .. ")", path))) + print(rpm.expand(string.format("sed -ri \"1s@#!.*python\\S*@#!%s@\" %s\n", "$(realpath %__" .. python .. ")", path))) end -- %python_clone -a
participants (1)
-
Source-Sync