From: Ken Dreyer Date: Fri, 23 Jan 2015 16:34:39 +0000 (-0700) Subject: ceph.spec.in: move rgw logrotate to rgw subpackage X-Git-Tag: v0.93~152^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3476%2Fhead;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 8f5955423da..05f39f41af2 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/