| |
@@ -2,7 +2,7 @@
|
| |
Summary: OpenStack from the CentOS Cloud SIG repo configs
|
| |
Name: centos-release-openstack-%{OpenStackVersion}
|
| |
Version: 1
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 6%{?dist}
|
| |
License: GPL
|
| |
URL: http://wiki.centos.org/SpecialInterestGroup/Cloud
|
| |
Source0: CentOS-OpenStack.repo
|
| |
@@ -29,27 +29,15 @@
|
| |
install -p -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg
|
| |
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/rpm-gpg
|
| |
|
| |
- %post
|
| |
- if [ -f /etc/os-release ]; then
|
| |
- source /etc/os-release
|
| |
- fi
|
| |
- if [[ $ID == 'centos' && $NAME == *'Stream' ]] || [ $ID != 'centos' ]; then
|
| |
- echo "8-stream" > /etc/dnf/vars/cloudsigdist
|
| |
- else
|
| |
- echo "8" > /etc/dnf/vars/cloudsigdist
|
| |
- fi
|
| |
-
|
| |
- %postun
|
| |
- if [ $1 -eq 0 ] ; then
|
| |
- rm -f /etc/dnf/vars/cloudsigdist
|
| |
- fi
|
| |
-
|
| |
%files
|
| |
%defattr(-,root,root)
|
| |
%config(noreplace) %{_sysconfdir}/yum.repos.d/*
|
| |
%{_sysconfdir}/pki/rpm-gpg
|
| |
|
| |
%changelog
|
| |
+ * Tue Jan 11 2022 Joel Capitao <jcapitao@redhat.com> - %{OpenStackVersion}-1-6
|
| |
+ - Remove the logic to identify CL8 or CS8
|
| |
+
|
| |
* Mon Mar 08 2021 Alfredo Moralejo <amoralej@redhat.com> - %{OpenStackVersion}-1-5
|
| |
- Add support for CentOS Stream 8 repos
|
| |
- Use centos-release-advanced-virtualization for Advanced Virtulazation repo
|
| |
As discussed in [1], we can remove the logic.
This fixes [2].
[1] https://lists.centos.org/pipermail/centos-devel/2022-January/120126.html
[2] https://pagure.io/centos-sig-cloud/sig/issue/2