From 883da22d3db020ece4b2f847bd9e1582b18024f1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 14 Feb 2024 13:53:07 +0100 Subject: add crypto sub-packages --- remi-release.spec | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/remi-release.spec b/remi-release.spec index 6654a87..e1500c3 100644 --- a/remi-release.spec +++ b/remi-release.spec @@ -102,6 +102,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 @@ -147,11 +171,22 @@ install -Dp -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/yum.repos.d/remi-debugi 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 * Wed Feb 14 2024 Remi Collet - 40-1 -- cgit