Accepting request 1143233 from security:tls
OBS-URL: https://build.opensuse.org/request/show/1143233 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crypto-policies?expand=0&rev=8
This commit is contained in:
commit
b1b1c762b3
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 30 18:36:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- avoid the cycle rpm/cmake/crypto-policies/python-rpm-macros:
|
||||||
|
we only need python3-base here, we don't need the python
|
||||||
|
macros as no module is being built
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 5 12:35:57 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu Oct 5 12:35:57 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package crypto-policies
|
# spec file for package crypto-policies
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -82,6 +82,9 @@ BuildRequires: perl(File::Copy)
|
|||||||
BuildRequires: perl(File::Temp)
|
BuildRequires: perl(File::Temp)
|
||||||
BuildRequires: perl(File::Which)
|
BuildRequires: perl(File::Which)
|
||||||
BuildRequires: perl(File::pushd)
|
BuildRequires: perl(File::pushd)
|
||||||
|
%else
|
||||||
|
# Avoid cycle with python-rpm-macros
|
||||||
|
#!BuildIgnore: python-rpm-packaging python-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?primary_python:1}
|
%if 0%{?primary_python:1}
|
||||||
Recommends: crypto-policies-scripts
|
Recommends: crypto-policies-scripts
|
||||||
@ -180,7 +183,7 @@ done
|
|||||||
# Fix shebang in scripts
|
# Fix shebang in scripts
|
||||||
for f in %{buildroot}%{_datadir}/crypto-policies/python/*
|
for f in %{buildroot}%{_datadir}/crypto-policies/python/*
|
||||||
do
|
do
|
||||||
[ -f $f ] && sed -i "1s@#!.*python.*@#!$(realpath %__python3)@" $f
|
[ -f $f ] && sed -i "1s@#!.*python.*@#!$(realpath /usr/bin/python3)@" $f
|
||||||
done
|
done
|
||||||
|
|
||||||
%py3_compile %{buildroot}%{_datadir}/crypto-policies/python
|
%py3_compile %{buildroot}%{_datadir}/crypto-policies/python
|
||||||
|
Loading…
Reference in New Issue
Block a user