diff options
author | Remi Collet <remi@remirepo.net> | 2024-06-06 16:02:47 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-06-06 16:02:47 +0200 |
commit | b8e1f601d3f2626758a40084e1fe4b1d76ebd6f7 (patch) | |
tree | 9d0b494a2c0c1ef0a7f973d49f1254d80e9596d9 /remi-release.spec | |
parent | 4cf4b03943f1c8c07f1961aefb7a6a19f49a61c5 (diff) |
raise dependency on redhat-release 8.10 or 9.4
use $releasever instead of hardcoded value in configuration files
Diffstat (limited to 'remi-release.spec')
-rw-r--r-- | remi-release.spec | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/remi-release.spec b/remi-release.spec index ba2a6b3..7704b5d 100644 --- a/remi-release.spec +++ b/remi-release.spec @@ -10,12 +10,12 @@ Name: remi-release %if %{?rhel} == 9 # Match point release version Version: 9.4 -Release: 1%{?dist} +Release: 2%{?dist} %endif %if %{?rhel} == 8 # Match point release version -Version: 8.9 -Release: 3%{?dist} +Version: 8.10 +Release: 1%{?dist} %endif Summary: YUM configuration for remi repository Summary(fr): Configuration de YUM pour le dépôt remi @@ -106,10 +106,6 @@ Only used for building. %prep %setup -c -T -sed -e "s/VERSION/%{rhel}/" %{SOURCE1} | tee remi.repo -sed -e "s/VERSION/%{rhel}/" %{SOURCE2} | tee remi-safe.repo -sed -e "s/VERSION/%{rhel}/" %{SOURCE3} | tee remi-modular.repo - %build echo empty build @@ -135,9 +131,10 @@ ln -s RPM-GPG-KEY-remi2021 %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-r %endif # DNF -for repo in *repo +for src in %{SOURCE1} %{SOURCE2} %{SOURCE3} do - install -Dp -m 644 $repo %{buildroot}%{_sysconfdir}/yum.repos.d/$repo + repo=$(basename $src) + install -Dp -m 644 $src %{buildroot}%{_sysconfdir}/yum.repos.d/$repo done mkdir -p %{buildroot}/opt/remi @@ -161,6 +158,10 @@ mkdir -p %{buildroot}/opt/remi %changelog +* Mon May 13 2024 Remi Collet <remi@remirepo.net> - 8.10-1 and 9.4-2 +- raise dependency on redhat-release 8.10 or 9.4 +- use $releasever instead of hardcoded value in configuration files + * Mon May 13 2024 Remi Collet <remi@remirepo.net> - 9.4-1 - raise dependency on redhat-release 9.4 |