diff options
author | Vijay Bellur <vbellur@redhat.com> | 2012-09-25 00:17:56 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-12-12 00:17:35 -0500 |
commit | f8c227d9a61a0e16508c471e01a96ac6cd74c09b (patch) | |
tree | 64bf6e80dac3bd48cc03b61926eeb3393b7e76cb /glusterfs.spec.in | |
parent | 823e6698732a5fdffe66a3bbb8c29e80a65eb31e (diff) |
build: Install glusterfs-logrotate as config file
Change-Id: I8255eb4249503eac0add87444da934256faffc01
BUG: 860037
Reviewed-on: https://code.engineering.redhat.com/gerrit/1870
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 96949db5612..8a446dcaef1 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -252,7 +252,7 @@ done # 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 @@ -261,7 +261,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* |