summaryrefslogtreecommitdiffstats
path: root/remi-release.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-11-16 14:34:48 +0100
committerRemi Collet <remi@remirepo.net>2018-11-16 14:34:48 +0100
commit0dd591ed37a906590c6ffeae16bbacee97d469dd (patch)
tree3f2ff2f48aec7d4d234d57dcfd6a10cdc4608467 /remi-release.spec
parentd0083a30864a7859df0360a4e17c23cf7455d8cf (diff)
require system-release(releasever)
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