summaryrefslogtreecommitdiffstats
path: root/remi-release.spec
diff options
context:
space:
mode:
Diffstat (limited to 'remi-release.spec')
-rw-r--r--remi-release.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/remi-release.spec b/remi-release.spec
index 011a15c..6cb91b7 100644
--- a/remi-release.spec
+++ b/remi-release.spec
@@ -35,6 +35,7 @@ BuildArchitectures: noarch
# Sadly system-release and redhat-release are not versionned
Requires: redhat-release
+Requires: system-release(releasever) = %{rhel}
Recommends: epel-release = %{rhel}
# Ensure not installable on Fedora
Conflicts: fedora-release
@@ -118,6 +119,8 @@ done
%changelog
+- require system-release(releasever)
+
* Fri Nov 16 2018 Remi Collet <remi@remirepo.net> - 8.0-1
- Configuration package for remi repository on RHEL-8.0-Beta