72a067
Summary: Ceph Reef packages from the CentOS Storage SIG repository
72a067
Name: centos-release-ceph-reef
b62e46
Version: 1.0
0be500
Release: 1%{?dist}
b62e46
License: GPLv2
b62e46
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
72a067
Source0: CentOS-Ceph-Reef.repo
b62e46
%if 0%{?centos} >= 8
b62e46
BuildRequires: systemd
b62e46
%endif
b62e46
BuildArch: noarch
b62e46
b62e46
%if 0%{?centos} >= 8
b62e46
# $contentdir for altarch support was added with CentOS-8.5
b62e46
Requires: centos-release >= 8-0.1905.el8
b62e46
Requires(post): systemd
b62e46
Requires(preun): systemd
b62e46
Requires(postun): systemd
b62e46
%endif
b62e46
# This provides the public key to verify the RPMs
b62e46
Requires: centos-release-storage-common
b62e46
72a067
Provides: centos-release-ceph = 18
b62e46
b62e46
%description
72a067
yum configuration for Ceph Reef packages from the CentOS Storage SIG.
b62e46
b62e46
%install
72a067
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Reef.repo
b62e46
%if 0%{?centos} < 7
72a067
sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Reef.repo
b62e46
%endif
b62e46
b62e46
%if 0%{?centos} >= 7
b62e46
%post
b62e46
%systemd_post
b62e46
b62e46
%preun
b62e46
%systemd_preun
b62e46
b62e46
%postun
b62e46
%systemd_postun
b62e46
%endif
b62e46
b62e46
%files
b62e46
%defattr(-,root,root)
72a067
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Reef.repo
b62e46
b62e46
%changelog
72a067
* Fri Aug 4 2023 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1.0-1
72a067
- reef
b62e46