%global OpenStackVersion antelope
Summary: OpenStack from the CentOS Cloud SIG repo configs
Name: centos-release-openstack-%{OpenStackVersion}
Version: 1
Release: 5%{?dist}
License: GPL
URL: http://wiki.centos.org/SpecialInterestGroup/Cloud
Source0: CentOS-OpenStack.repo
BuildArch: noarch
Requires: centos-release
Requires: centos-release-cloud
Requires: centos-release-rabbitmq-38
Requires: centos-release-ceph-quincy
Requires: centos-release-nfv-openvswitch
Provides: centos-release-openstack-2023.1 = %{version}-%{release}
%description
yum Configs and basic docs for OpenStack as delivered via the CentOS Cloud SIG.
%prep
%install
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-OpenStack-%{OpenStackVersion}.repo
sed -i -e "s/OPENSTACK_VERSION/%{OpenStackVersion}/g" %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-OpenStack-%{OpenStackVersion}.repo
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/yum.repos.d/*
%changelog
* Tue Aug 06 2024 Alfredo Moralejo <amoralej@redhat.com> - antelope-1-5
+- Add provides to centos-release-openstack-2023.1
* Thu Jun 22 2023 Joel Capitao <jcapitao@redhat.com> - antelope-1-4
- Enable GPG check for testing repo
* Mon Jun 05 2023 Joel Capitao <jcapitao@redhat.com> - antelope-1-3
- Update trunk repos
* Thu May 25 2023 Christian Glombek <cglombek@redhat.com> - antelope-1-2
- Add Requires: centos-release-cloud
- Remove RPM GPG key from sources (now shipped in centos-release-cloud)
* Wed Apr 12 2023 Alfredo Moralejo <amoralej@redhat.com> - antelope-1-1
- Antelope Release