summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--remi-release.spec13
2 files changed, 15 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57c9f9b..d073254 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,6 @@ include ../common/Makefile
el8:
rpmbuild $(RPMDEFINES) $(SRCDEFINES) -bs $(NAME).spec --define 'dist .el8.remi' --define 'rhel 8'
+el9:
+ rpmbuild $(RPMDEFINES) $(SRCDEFINES) -bs $(NAME).spec --define 'dist .el9.remi' --define 'rhel 9'
+
diff --git a/remi-release.spec b/remi-release.spec
index beefc86..1ae6c2b 100644
--- a/remi-release.spec
+++ b/remi-release.spec
@@ -7,6 +7,11 @@
# Please, preserve the changelog entries
#
Name: remi-release
+%if %{?rhel} == 9
+# Match point release version
+Version: 9.0
+Release: 1%{?dist}
+%endif
%if %{?rhel} == 8
# Match point release version
Version: 8.4
@@ -42,7 +47,7 @@ BuildArchitectures: noarch
# rpm -q --provides cloudlinux-release => redhat-release = 8.4-3.el8
Requires: redhat-release >= %{version}
Requires: system-release(releasever) = %{rhel}
-Requires: epel-release = %{rhel}
+Recommends: epel-release = %{rhel}
# Ensure not installable on Fedora
Conflicts: fedora-release
@@ -96,6 +101,9 @@ install -Dp -m 644 %{SOURCE2021} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-
%if %{rhel} <= 8
ln -s RPM-GPG-KEY-remi2018 %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
%endif
+%if %{rhel} <= 9
+ln -s RPM-GPG-KEY-remi2021 %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-remi.el9
+%endif
# DNF
for repo in *repo
@@ -110,6 +118,9 @@ done
%changelog
+* Thu Nov 4 2021 Remi Collet <remi@remirepo.net> - 9.0-1
+- EL-9 build
+
* Fri Jul 2 2021 Remi Collet <remi@remirepo.net> - 8.4-1
- raise dependency on redhat-release >= 8.4
- enable repo_gpgcheck for https://github.com/remicollet/remirepo/issues/175