summaryrefslogtreecommitdiffstats
path: root/remi-release.spec
diff options
context:
space:
mode:
Diffstat (limited to 'remi-release.spec')
-rw-r--r--remi-release.spec19
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