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