From 06ec6da8adb48f56db729b41241637c1ce76e8e8 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Mar 31 2020 07:40:20 +0000 Subject: Initial import from existing src.rpm Signed-off-by: Fabian Arrotin --- diff --git a/.centos-release-ansible.metadata b/.centos-release-ansible.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.centos-release-ansible.metadata diff --git a/README.md b/README.md new file mode 100644 index 0000000..97e4bdb --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# centos-release-ansible + +This package contains the .repo files and GPG public key needed to be able to consume specific ansible release +We'll use the CBS naming convention, so different release/distro version per git branch diff --git a/SOURCES/CentOS-ANSIBLE.repo b/SOURCES/CentOS-ANSIBLE.repo new file mode 100644 index 0000000..2d0a344 --- /dev/null +++ b/SOURCES/CentOS-ANSIBLE.repo @@ -0,0 +1,33 @@ +# CentOS-ANSIBLE.repo +# +# Please see https://wiki.centos.org/SpecialInterestGroup/ConfigManagementSIG/Ansible +# for more information + +[centos-ansible26] +name=CentOS-7 - Ansible26 +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=configmanagement-ansible26 +#baseurl=http://mirror.centos.org/$contentdir/7/configmanagement/$basearch/ansible26/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-ConfigManagement + +[centos-ansible26-testing] +name=CentOS-7 - Ansible26 Testing +baseurl=http://buildlogs.centos.org/centos/7/configmanagement/$basearch/ansible26/ +gpgcheck=0 +enabled=0 + +[centos-ansible26-debuginfo] +name=CentOS-7 - Ansible26 Debug +baseurl=http://debuginfo.centos.org/$contentdir/7/configmanagement/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-ConfigManagement + +[centos-ansible26-source] +name=CentOS-7 - Ansible26 Source +baseurl=http://vault.centos.org/$contentdir/7/configmanagement/Source/ansible26/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-ConfigManagement + diff --git a/SPECS/centos-release-ansible.spec b/SPECS/centos-release-ansible.spec new file mode 100644 index 0000000..38bdc85 --- /dev/null +++ b/SPECS/centos-release-ansible.spec @@ -0,0 +1,38 @@ +Name: centos-release-ansible26 +Version: 1 +Release: 3%{?dist} +Summary: Ansible 2.6 packages from the CentOS ConfigManagement SIG repository + +License: Public Domain +URL: https://wiki.centos.org/SpecialInterestGroup/ConfigManagementSIG/Ansible +Source0: CentOS-ANSIBLE.repo + +Requires: centos-release-configmanagement + +BuildArch: noarch + +%description +Ansible 2.6 packages as delivered via the CentOS ConfigManagement SIG. + +%prep + +%build + +%install +mkdir -p %{buildroot}%{_sysconfdir}/yum.repos.d +install -Dpm0644 -t %{buildroot}%{_sysconfdir}/yum.repos.d %{S:0} + +%files +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-ANSIBLE.repo + +%changelog +* Mon Oct 29 2018 Brian Stinson - 1-3 +- rebuilt + +* Mon Oct 29 2018 brian@bstinson.com - 1-2 +- Added the contentdir variable to the repo lines + +* Mon Oct 22 2018 brian@bstinson.com - 1-1 +- Initial package + +