diff options
author | Remi Collet <remi@remirepo.net> | 2024-02-14 13:53:07 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-02-14 13:53:07 +0100 |
commit | 883da22d3db020ece4b2f847bd9e1582b18024f1 (patch) | |
tree | 97b74b306b94f9bbfbd225f88594f063cefe4169 | |
parent | ca3628ad428d14a7d1bec9cefe8b3bf62d6af0e6 (diff) |
add crypto sub-packages
-rw-r--r-- | remi-release.spec | 35 |
1 files changed, 35 insertions, 0 deletions
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 <remi@remirepo.net> - 40-1 |