commit 5aad044ed91c9cc6901e57c321695364453da674
Author: Xavier Bachelot <xavier(a)bachelot.org>
Date: Tue Jun 19 16:01:09 2018 +0200
Don't use $releasever, it's not expanding as expected on RHEL
rpmfusion-free-release.spec | 5 ++++-
rpmfusion-free-tainted.repo | 24 ++++++++++++------------
2 files changed, 16 insertions(+), 13 deletions(-)
---
diff --git a/rpmfusion-free-release.spec b/rpmfusion-free-release.spec
index 2e62e03..3adf05b 100644
--- a/rpmfusion-free-release.spec
+++ b/rpmfusion-free-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
@@ -83,6 +83,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.
+
* 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-free-tainted.repo b/rpmfusion-free-tainted.repo
index 6da9a44..856af21 100644
--- a/rpmfusion-free-tainted.repo
+++ b/rpmfusion-free-tainted.repo
@@ -1,33 +1,33 @@
[rpmfusion-free-tainted]
-name=RPM Fusion for EL $releasever - Free tainted
-#baseurl=http://download1.rpmfusion.org/free/el/tainted/$releasever/$basearch/
-metalink=https://mirrors.rpmfusion.org/metalink?repo=free-el-tainted-$releasever&arch=$basearch
+name=RPM Fusion for EL 7 - Free tainted
+#baseurl=http://download1.rpmfusion.org/free/el/tainted/7/$basearch/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-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-free-el-$releasever
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-7
[rpmfusion-free-tainted-debuginfo]
-name=RPM Fusion for EL $releasever - Free tainted - Debug
-#baseurl=http://download1.rpmfusion.org/free/el/tainted/$releasever/$basearch/debug/
-metalink=https://mirrors.rpmfusion.org/metalink?repo=free-el-tainted-debug-$releasever&arch=$basearch
+name=RPM Fusion for EL 7 - Free tainted - Debug
+#baseurl=http://download1.rpmfusion.org/free/el/tainted/7/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-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-free-el-$releasever
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-7
[rpmfusion-free-tainted-source]
-name=RPM Fusion for EL $releasever - Free tainted - Source
-#baseurl=http://download1.rpmfusion.org/free/el/tainted/$releasever/SRPMS/
-metalink=https://mirrors.rpmfusion.org/metalink?repo=free-el-tainted-source-$releasever&arch=$basearch
+name=RPM Fusion for EL 7 - Free tainted - Source
+#baseurl=http://download1.rpmfusion.org/free/el/tainted/7/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-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-free-el-$releasever
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-7
Show replies by date