summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-02-27 10:12:04 +0100
committerRemi Collet <remi@remirepo.net>2020-02-27 10:12:04 +0100
commitc1362968e4b17c5ae10f4ccf9bdfd63439800a78 (patch)
tree0e33a5798f1ea7bbc6fe5fcdddde1aff874ee715
parenta7be3d559b93689a306f0e01d2d2fae93b7bacb3 (diff)
raise dependency on redhat-release >= 8.1
-rw-r--r--remi-release.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/remi-release.spec b/remi-release.spec
index 549b77c..d441637 100644
--- a/remi-release.spec
+++ b/remi-release.spec
@@ -8,8 +8,9 @@
#
Name: remi-release
%if %{rhel} == 8
+# Match point release version
Version: 8.1
-Release: 1%{?dist}
+Release: 2%{?dist}
%endif
Summary: YUM configuration for remi repository
Summary(fr): Configuration de YUM pour le dépôt remi
@@ -32,7 +33,9 @@ Source2020: RPM-GPG-KEY-remi2020
BuildArchitectures: noarch
-Requires: redhat-release
+# rpm -q --provides redhat-release => redhat-release = 8.1-3.3.el8
+# rpm -q --provides centos-release => redhat-release = 8.1-0
+Requires: redhat-release >= %{version}
Requires: system-release(releasever) = %{rhel}
Requires: epel-release = %{rhel}
# Ensure not installable on Fedora
@@ -101,6 +104,9 @@ done
%changelog
+* Thu Feb 27 2020 Remi Collet <remi@remirepo.net> - 8.1-2
+- raise dependency on redhat-release >= 8.1
+
* Mon Feb 17 2020 Remi Collet <remi@remirepo.net> - 8.1-1
- add 2020 key (used for .src.rpm)