From 9edd0a53345bea4eb001e3a9d15af5ec8136246d Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 23 Jan 2015 09:34:39 -0700 Subject: [PATCH] ceph.spec.in: move rgw logrotate to rgw subpackage Prior to this commit, the radosgw logrotate config was in the main "ceph" package. This meant that if a user had installed "ceph", but not "ceph-radosgw", they would end up with a logrotate configuration that was unnecessary. Only install the logrotate configuration file if the user has installed ceph-radosgw. Signed-off-by: Ken Dreyer --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 8f5955423dad5..05f39f41af268 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -500,7 +500,6 @@ fi %endif %config %{_sysconfdir}/bash_completion.d/ceph %config(noreplace) %{_sysconfdir}/logrotate.d/ceph -%config(noreplace) %{_sysconfdir}/logrotate.d/radosgw %{_mandir}/man8/ceph-deploy.8* %{_mandir}/man8/ceph-disk.8* %{_mandir}/man8/ceph-mon.8* @@ -618,6 +617,7 @@ fi %{_mandir}/man8/radosgw.8* %{_mandir}/man8/radosgw-admin.8* %{_sbindir}/rcceph-radosgw +%config(noreplace) %{_sysconfdir}/logrotate.d/radosgw %config %{_sysconfdir}/bash_completion.d/radosgw-admin %dir %{_localstatedir}/log/radosgw/ -- 2.47.3