62c60d
Summary: Ceph Quincy packages from the CentOS Storage SIG repository
62c60d
Name: centos-release-ceph-quincy
b62e46
Version: 1.0
8e4089
Release: 1%{?dist}
b62e46
License: GPLv2
b62e46
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
62c60d
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
62c60d
Provides: centos-release-ceph = 17
b62e46
b62e46
%description
62c60d
yum configuration for Ceph Quincy packages from the CentOS Storage SIG.
b62e46
b62e46
%install
62c60d
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Quincy.repo
b62e46
%if 0%{?centos} < 7
62c60d
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)
62c60d
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Quincy.repo
b62e46
b62e46
%changelog
62c60d
* Mon Jan 18 2022 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1.0-1
8e4089
- c9stream
b62e46