From 36db38a5722127e9f330915783cddae453be5db3 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 25 Sep 2012 00:17:56 +0530 Subject: build: Install glusterfs-logrotate as config file Change-Id: I8255eb4249503eac0add87444da934256faffc01 BUG: 860037 Reviewed-on: http://review.gluster.org/3973 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Anand Avati --- glusterfs.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 05eec2cc1..bda103b0b 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -264,7 +264,7 @@ touch %{buildroot}%{_sharedstatedir}/glusterd/geo-replication/gsyncd.conf # Copy the 'glusterfs-logrotate' file at the right place if [ -d /etc/logrotate.d ]; then - cp %{_docdir}/%{name}-%{version}/glusterfs-logrotate /etc/logrotate.d/glusterfs + cp %{_sysconfdir}/glusterfs/glusterfs-logrotate /etc/logrotate.d/glusterfs fi %postun @@ -273,7 +273,7 @@ fi %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING-GPLV2 COPYING-LGPLV3 INSTALL NEWS README THANKS -%doc extras/glusterfs-logrotate +%config %{_sysconfdir}/glusterfs/glusterfs-logrotate %{_libdir}/glusterfs %{_libdir}/*.so.* %{_sbindir}/glusterfs* -- cgit