diff options
Diffstat (limited to 'remi-release.spec')
-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) |