add provides for -devel packages

This commit is contained in:
Kaleb S. KEITHLEY 2017-08-18 09:22:26 -04:00
parent dc6776ed68
commit 7381689411
2 changed files with 13 additions and 0 deletions

10
README.deprecated Normal file
View File

@ -0,0 +1,10 @@
This ceph package is deprecated in epel-7.
Packages of newer versions of Ceph are available in the
CentOS Storage SIG[1] and Ceph's download site[2].
[1] https://wiki.centos.org/SpecialInterestGroup/Storage
[2] http://download.ceph.com/

View File

@ -20,6 +20,7 @@ License: GPLv2
Group: System Environment/Base
URL: http://ceph.com/
Source0: http://ceph.com/download/%{name}-%{version}.tar.bz2
Source1: README.deprecated
Patch0: ceph-google-gperftools.patch
Patch1: ceph-no-format-security.patch
Patch2: ceph-common-do-not-unlock-rwlock-on-destruction.patch
@ -482,6 +483,7 @@ install -m 0644 -D src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/
install -m 0644 -D src/rgw/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/radosgw
chmod 0644 $RPM_BUILD_ROOT%{_docdir}/ceph/sample.ceph.conf
chmod 0644 $RPM_BUILD_ROOT%{_docdir}/ceph/sample.fetch_config
install %{SOURCE1} $RPM_BUILD_ROOT%{_docdir}/ceph
%ifarch x86_64
# remove python-rados and python-rbd files to avoid conflicts with base RHEL
@ -566,6 +568,7 @@ fi
%defattr(-,root,root,-)
%docdir %{_docdir}
%dir %{_docdir}/ceph
%{_docdir}/ceph/README.deprecated
%{_docdir}/ceph/sample.ceph.conf
%{_docdir}/ceph/sample.fetch_config
%{_bindir}/cephfs