5f5171
Summary: Ceph Quincy packages from the CentOS Storage SIG repository
5f5171
Name: centos-release-ceph-quincy
b62e46
Version: 1.0
60c81d
Release: 3%{?dist}
b62e46
License: GPLv2
b62e46
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
5f5171
Source0: CentOS-Ceph-Quincy.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
5f5171
Provides: centos-release-ceph = 17
b62e46
b62e46
%description
5f5171
yum configuration for Ceph Quincy packages from the CentOS Storage SIG.
b62e46
b62e46
%install
5f5171
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Quincy.repo
b62e46
%if 0%{?centos} < 7
5f5171
sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Quincy.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)
5f5171
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Quincy.repo
b62e46
b62e46
%changelog
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