summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2018-07-17 07:05:11 +1000
committerTony Breeds <tony@bakeyournoodle.com>2018-07-18 10:58:05 +1000
commitfa237e33189a53c21c3e3e8b536c826974c8e94a (patch)
tree7773c8c87a61fb79f3504929b4793d5cff9bc665
parentbc8afcc8005a3bdf696f998b9240c7cad308d00b (diff)
Use contentdir variable to locate repoHEADmaster
Now that we're publishing OpsTools content for alternate architectures on the mirror update the release package to use yum variable to locate that content. Change-Id: I85755ba3da57792cd850d20c8b10387702047b9f
-rw-r--r--CentOS-OpsTools.repo2
-rw-r--r--centos-release-opstools.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/CentOS-OpsTools.repo b/CentOS-OpsTools.repo
index a924551..6a13ab7 100644
--- a/CentOS-OpsTools.repo
+++ b/CentOS-OpsTools.repo
@@ -11,7 +11,7 @@ enabled=0
[centos-release-opstools]
name=CentOS-7 - OpsTools - release
-baseurl=http://mirror.centos.org/centos/$releasever/opstools/$basearch/
+baseurl=http://mirror.centos.org/$contentdir/$releasever/opstools/$basearch/
gpgcheck=1
enabled=1
skip_if_unavailable=1
diff --git a/centos-release-opstools.spec b/centos-release-opstools.spec
index 10e9af4..4f0dcde 100644
--- a/centos-release-opstools.spec
+++ b/centos-release-opstools.spec
@@ -1,7 +1,7 @@
Summary: Config to enable the repository for OpsTools SIG
Name: centos-release-opstools
Version: 1
-Release: 7%{?dist}
+Release: 8%{?dist}
License: GPL
URL: http://wiki.centos.org/SpecialInterestGroup/OpsTools
Source0: CentOS-OpsTools.repo
@@ -27,6 +27,9 @@ install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/rpm-gpg
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-OpsTools
%changelog
+* Tue Jul 17 2018 Tony Breeds <tony@bakeyournoodle.com> - 1.8
+- Use contentdir yum variable
+
* Thu Mar 23 2017 Matthias Runge <mrunge@redhat.com> - 1.7
- drop dependency on centos-openstack repos