Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package crypto-policies for openSUSE:Factory
checked in at 2023-10-08 12:15:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crypto-policies (Old)
and /work/SRC/openSUSE:Factory/.crypto-policies.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crypto-policies"
Sun Oct 8 12:15:55 2023 rev:7 rq:1116021 version:20230920.570ea89
Changes:
--------
--- /work/SRC/openSUSE:Factory/crypto-policies/crypto-policies.changes
2023-10-02 20:04:03.925623668 +0200
+++
/work/SRC/openSUSE:Factory/.crypto-policies.new.28202/crypto-policies.changes
2023-10-08 12:15:55.857007105 +0200
@@ -1,0 +2,6 @@
+Thu Oct 5 12:35:57 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Remove dependency on /usr/bin/python3, making scripts to depends on
+ the real python3 binary, not the link. bsc#1212476
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ crypto-policies.spec ++++++
--- /var/tmp/diff_new_pack.zSiCzI/_old 2023-10-08 12:15:57.917081173 +0200
+++ /var/tmp/diff_new_pack.zSiCzI/_new 2023-10-08 12:15:57.921081317 +0200
@@ -72,6 +72,7 @@
BuildRequires: mozilla-nss-tools
BuildRequires: openssl
BuildRequires: perl
+BuildRequires: python-rpm-macros
BuildRequires: python3-coverage
BuildRequires: python3-devel >= 3.6
BuildRequires: python3-flake8
@@ -176,6 +177,12 @@
ln -sf %{_datarootdir}/crypto-policies/DEFAULT/$(basename $f)
%{buildroot}%{_sysconfdir}/crypto-policies/back-ends/$(basename $f .txt).config
done
+# Fix shebang in scripts
+for f in %{buildroot}%{_datadir}/crypto-policies/python/*
+do
+ [ -f $f ] && sed -i "1s@#!.*python.*@#!$(realpath %__python3)@" $f
+done
+
%py3_compile %{buildroot}%{_datadir}/crypto-policies/python
# Install README.SUSE to %%doc