diff options
author | Remi Collet <remi@remirepo.net> | 2022-05-23 16:44:44 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-05-23 16:44:44 +0200 |
commit | e389a44a49c9c168c190fee6a676b1de1c94a8aa (patch) | |
tree | 9851121c03347722e85d4dbd2e056b037241c3a1 | |
parent | 600a25ce318b393dd279b7a45fa6424d8438d24e (diff) |
create remi-crypto-* to set crypto policies on build syste
-rw-r--r-- | remi-release.spec | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/remi-release.spec b/remi-release.spec index db8c80c..0fc3ad9 100644 --- a/remi-release.spec +++ b/remi-release.spec @@ -1,6 +1,6 @@ # remirepo spec file for remi-release (RHEL, CentOS) # -# Copyright (c) 2006-2021 Remi Collet +# Copyright (c) 2006-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -10,7 +10,7 @@ Name: remi-release %if %{?rhel} == 9 # Match point release version Version: 9.0 -Release: 5%{?dist} +Release: 6%{?dist} %endif %if %{?rhel} == 8 # Match point release version @@ -82,6 +82,30 @@ Forum: https://forum.remirepo.net/ Twitter: https://twitter.com/RemiRepository +%package -n remi-crypto-legacy +Summary: Lower crypto policies to LEGACY +Conflicts: remi-crypto-default +Requires: crypto-policies +Requires(post): %{_bindir}/update-crypto-policies + +%description -n remi-crypto-legacy +Lower crypto policies to LEGACY +Only used for building. +** DO NOT USED ** + + +%package -n remi-crypto-default +Summary: Lower crypto policies to DEFAULT +Conflicts: remi-crypto-legacy +Requires: crypto-policies +Requires(post): %{_bindir}/update-crypto-policies + +%description -n remi-crypto-default +Lower crypto policies to DEFAULT +Only used for building. +** DO NOT USED ** + + %prep %setup -c -T @@ -120,13 +144,27 @@ done mkdir -p %{buildroot}/opt/remi +%post -n remi-crypto-legacy +%{_bindir}/update-crypto-policies --set LEGACY + +%post -n remi-crypto-default +%{_bindir}/update-crypto-policies --set DEFAULT + + %files %config(noreplace) %{_sysconfdir}/yum.repos.d/remi*repo %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi* %dir /opt/remi +%files -n remi-crypto-legacy + +%files -n remi-crypto-default + %changelog +* Mon May 23 2022 Remi Collet <remi@remirepo.net> - 9.0-6 +- create remi-crypto-* to set crypto policies on build system + * Tue Feb 15 2022 Remi Collet <remi@remirepo.net> - 8.5-3 and 9.0-5 - add 2022 key (used for .src.rpm) |