commit 779ab8b800c2a5578fd3b6523f7be75245e20935
Author: Xavier Bachelot <xavier(a)bachelot.org>
Date: Tue Jun 19 16:40:27 2018 +0200
Don't use $releasever, it's not expanding as expected on RHEL
rpmfusion-nonfree-release.spec | 5 ++++-
rpmfusion-nonfree-tainted.repo | 24 ++++++++++++------------
2 files changed, 16 insertions(+), 13 deletions(-)
---
diff --git a/rpmfusion-nonfree-release.spec b/rpmfusion-nonfree-release.spec
index c6afcae..7853543 100644
--- a/rpmfusion-nonfree-release.spec
+++ b/rpmfusion-nonfree-release.spec
@@ -3,7 +3,7 @@
Name: rpmfusion-%{repo}-release
Version: 7
-Release: 3
+Release: 4
Summary: RPM Fusion (%{repo}) Repository Configuration
Group: System Environment/Base
@@ -81,6 +81,9 @@ install -d -m755 \
%config(noreplace) %{_sysconfdir}/yum.repos.d/rpmfusion-%{repo}-tainted.repo
%changelog
+* Tue Jun 19 2018 Xavier Bachelot <xavier(a)bachelot.org> - 7-4
+- Don't use $releasever, it's not expanding as expected on RHEL (RFBZ#4943).
+
* Tue Jun 19 2018 Xavier Bachelot <xavier(a)bachelot.org> - 7-3
- Only include tainted repo definition in tainted sub-package.
diff --git a/rpmfusion-nonfree-tainted.repo b/rpmfusion-nonfree-tainted.repo
index be62770..78e05e7 100644
--- a/rpmfusion-nonfree-tainted.repo
+++ b/rpmfusion-nonfree-tainted.repo
@@ -1,33 +1,33 @@
[rpmfusion-nonfree-tainted]
-name=RPM Fusion for EL $releasever - Nonfree tainted
-#baseurl=http://download1.rpmfusion.org/nonfree/el/tainted/$releasever/$basearch/
-metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-tainted-$releasever&arch=$basearch
+name=RPM Fusion for EL 7 - Nonfree tainted
+#baseurl=http://download1.rpmfusion.org/nonfree/el/tainted/7/$basearch/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-tainted-7&arch=$basearch
enabled=1
metadata_expire=6h
type=rpm-md
gpgcheck=1
repo_gpgcheck=0
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-7
[rpmfusion-nonfree-tainted-debuginfo]
-name=RPM Fusion for EL $releasever - Nonfree tainted - Debug
-#baseurl=http://download1.rpmfusion.org/nonfree/el/tainted/$releasever/$basearch/debug/
-metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-tainted-debug-$releasever&arch=$basearch
+name=RPM Fusion for EL 7 - Nonfree tainted - Debug
+#baseurl=http://download1.rpmfusion.org/nonfree/el/tainted/7/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-tainted-debug-7&arch=$basearch
enabled=0
metadata_expire=6h
type=rpm-md
gpgcheck=1
repo_gpgcheck=0
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-7
[rpmfusion-nonfree-tainted-source]
-name=RPM Fusion for EL $releasever - Nonfree tainted - Source
-#baseurl=http://download1.rpmfusion.org/nonfree/el/tainted/$releasever/SRPMS/
-metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-tainted-source-$releasever&arch=$basearch
+name=RPM Fusion for EL 7 - Nonfree tainted - Source
+#baseurl=http://download1.rpmfusion.org/nonfree/el/tainted/7/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-el-tainted-source-7&arch=$basearch
enabled=0
metadata_expire=6h
type=rpm-md
gpgcheck=1
repo_gpgcheck=0
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-7
Show replies by date