97dd28
Summary: Ceph Pacific packages from the CentOS Storage SIG repository
97dd28
Name: centos-release-ceph-pacific
b62e46
Version: 1.0
e2fca4
Release: 2%{?dist}
b62e46
License: GPLv2
b62e46
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
97dd28
Source0: CentOS-Ceph-Pacific.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
405c74
Provides: centos-release-ceph = 16
b62e46
b62e46
%description
97dd28
yum configuration for Ceph Pacific packages from the CentOS Storage SIG.
b62e46
b62e46
%install
97dd28
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Pacific.repo
b62e46
%if 0%{?centos} < 7
97dd28
sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Pacific.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)
97dd28
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Pacific.repo
b62e46
b62e46
%changelog
e2fca4
* Mon Jun 21 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1.0-2
e2fca4
- c8stream
e2fca4
b62e46
* Thu May 14 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1.0-1
b62e46
- initial checkin in git.centos.org ex github
b62e46