forked from pool/crypto-policies
Accepting request 1115821 from home:dgarcia:branches:security:tls
- Remove dependency on /usr/bin/python3, making scripts to depends on the real python3 binary, not the link. bsc#1212476 OBS-URL: https://build.opensuse.org/request/show/1115821 OBS-URL: https://build.opensuse.org/package/show/security:tls/crypto-policies?expand=0&rev=25
This commit is contained in:
parent
b59bbd02a8
commit
cfa2543a59
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 5 12:35:57 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove dependency on /usr/bin/python3, making scripts to depends on
|
||||
the real python3 binary, not the link. bsc#1212476
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 27 10:54:17 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
|
@ -72,6 +72,7 @@ BuildRequires: libxslt
|
||||
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 @@ for f in %{buildroot}%{_datarootdir}/crypto-policies/DEFAULT/* ; do
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user