From 0bf80f8fca338d3ee1b5bd00fb4ec7a03243e658 Mon Sep 17 00:00:00 2001 From: Christian Glombek Date: May 25 2023 13:51:32 +0000 Subject: Initial Release --- diff --git a/.centos-release-okd.metadata b/.centos-release-okd.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.centos-release-okd.metadata diff --git a/SOURCES/CentOS-OKD.repo b/SOURCES/CentOS-OKD.repo new file mode 100644 index 0000000..0dc13eb --- /dev/null +++ b/SOURCES/CentOS-OKD.repo @@ -0,0 +1,28 @@ +# CentOS-OKD-OKD_VERSION.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Cloud for more +# information + +[centos-okd-OKD_VERSION] +name=CentOS-$releasever - OKD OKD_VERSION +#baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/cloud/$basearch/okd-OKD_VERSION/ +metalink=https://mirrors.centos.org/metalink?repo=centos-cloud-sig-okd-OKD_VERSION-$releasever-stream&arch=$basearch&protocol=https,http +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud +module_hotfixes=1 + +[centos-okd-OKD_VERSION-test] +name=CentOS-$releasever - OKD OKD_VERSION Testing +baseurl=https://buildlogs.centos.org/centos/$releasever-stream/cloud/$basearch/okd-OKD_VERSION/ +gpgcheck=0 +enabled=0 +module_hotfixes=1 + +[centos-okd-OKD_VERSION-source] +name=CentOS-$releasever - OKD OKD_VERSION - Source +baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/cloud/source/okd-OKD_VERSION/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud +module_hotfixes=1 diff --git a/SPECS/centos-release-okd.spec b/SPECS/centos-release-okd.spec new file mode 100644 index 0000000..c5e1116 --- /dev/null +++ b/SPECS/centos-release-okd.spec @@ -0,0 +1,30 @@ +%global OKDVersion 4.13 + +Summary: Configs for OKD repositories provided by the CentOS Cloud SIG +Name: centos-release-okd-%{OKDVersion} +Version: 1 +Release: 1%{?dist} +License: GPL +URL: http://wiki.centos.org/SpecialInterestGroup/Cloud +Source0: CentOS-OKD.repo + +BuildArch: noarch +Requires: centos-release +Requires: centos-release-cloud-common + +%description +%{summary}. + +%prep + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-OKD-%{OKDVersion}.repo +sed -i -e "s/OKD_VERSION/%{OKDVersion}/g" %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-OKD-%{OKDVersion}.repo + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/* + +%changelog +* Thu May 25 2023 Christian Glombek - 4.13-1-1 +- Initial Release