Summary: CentOS Hyperscale SIG main repo configs
Name: centos-release-hyperscale
Version: 9
Release: 2%{?dist}
License: GPLv2
URL: http://wiki.centos.org/SpecialInterestGroup/Hyperscale
Source0: RPM-GPG-KEY-CentOS-SIG-HyperScale
Source1: CentOS-Stream-Hyperscale.repo
Source2: CentOS-Stream-Hyperscale-Experimental.repo
Source3: CentOS-Stream-Hyperscale-Hotfixes.repo
Source4: CentOS-Stream-Hyperscale-Spin.repo
BuildArch: noarch
Requires: centos-stream-release
Requires: epel-release = %{rhel}
Requires: epel-next-release = %{rhel}
%description
Configs for the CentOS Hyperscale SIG main package repository.
%package experimental
Summary: CentOS Hyperscale SIG experimental repo configs
Requires: %{name} = %{version}-%{release}
%description experimental
Configs for the CentOS Hyperscale SIG experimental package repository.
%package hotfixes
Summary: CentOS Hyperscale SIG module hotfixes repo configs
Requires: %{name} = %{version}-%{release}
%description hotfixes
Configs for the CentOS Hyperscale SIG module hotfixes repository.
%package spin
Summary: CentOS Hyperscale SIG spin repo configs
Requires: %{name} = %{version}-%{release}
%description spin
Configs for the CentOS Hyperscale SIG spin repository.
%prep
# Nothing to do
%install
install -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg
install -p -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg
install -d %{buildroot}%{_sysconfdir}/yum.repos.d
install -p -m 644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
%{buildroot}%{_sysconfdir}/yum.repos.d
%files
%defattr(-,root,root)
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale.repo
%files experimental
%defattr(-,root,root)
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale-Experimental.repo
%files hotfixes
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale-Hotfixes.repo
%files spin
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale-Spin.repo
%changelog
* Fri Feb 25 2022 Neal Gompa <ngompa@centosproject.org> - 9-2
- Add epel-next-release dependency
* Sun Feb 20 2022 Neal Gompa <ngompa@centosproject.org> - 9-1
- Initial package for CentOS Stream 9