Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package permissions for openSUSE:Factory checked in at 2023-12-06 23:46:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/permissions (Old) and /work/SRC/openSUSE:Factory/.permissions.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "permissions" Wed Dec 6 23:46:56 2023 rev:159 rq:1129969 version:1699_20230602 Changes: -------- --- /work/SRC/openSUSE:Factory/permissions/permissions.changes 2023-06-06 19:54:52.353979994 +0200 +++ /work/SRC/openSUSE:Factory/.permissions.new.25432/permissions.changes 2023-12-06 23:46:57.532458214 +0100 @@ -1,0 +2,6 @@ +Mon Nov 27 11:38:26 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com> + +- Remove dependency on /usr/bin/python3, making scripts to depends on + the real python3 binary, not the link. bsc#1212476 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ permissions.spec ++++++ --- /var/tmp/diff_new_pack.guqqeD/_old 2023-12-06 23:46:58.664499948 +0100 +++ /var/tmp/diff_new_pack.guqqeD/_new 2023-12-06 23:46:58.668500095 +0100 @@ -32,6 +32,7 @@ BuildRequires: gcc-c++ BuildRequires: libcap-devel BuildRequires: libcap-progs +BuildRequires: python-rpm-macros BuildRequires: tclap # test suite BuildRequires: python3-base @@ -47,6 +48,13 @@ %install %make_install fillupdir=%{_fillupdir} +# Fix shebang in scripts: Remove dependency on /usr/bin/python3, +# making scripts to depends on the real python3 binary, not the link. +# (bsc#1212476) +for f in %{buildroot}/usr/lib/zypp/plugins/commit/* +do + [ -f $f ] && sed -i "1s@#\!.*python.*@#\!$(realpath %__python3)@" $f +done %check # will fail on qemu with unshare: unshare failed: Invalid argument