diff options
| author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2014-08-05 08:29:42 -0400 | 
|---|---|---|
| committer | Niels de Vos <ndevos@redhat.com> | 2014-12-15 04:03:29 -0800 | 
| commit | c86141fe33239393ee2a753d65151c7c1b3ed1cc (patch) | |
| tree | 3e3256c93c98820ba758b0661e05d8a691051d70 /glusterfs.spec.in | |
| parent | ba789252fca41f69fc8d23e1cb248d3c99a8bcfa (diff) | |
glusterfs.spec.in: use upstream logrotate exclusively
retiring Fedora dist-git *.logrotate files
Cherry picked from commit c35135c8da3542f377dcb22d121d255eb796a819:
> Change-Id: I6a94aac6f45573216de3f9e673d10db6de5ccb98
> BUG: 1126832
> Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
> Reviewed-on: http://review.gluster.org/8418
> Tested-by: Gluster Build System <jenkins@build.gluster.com>
> Reviewed-by: Niels de Vos <ndevos@redhat.com>
BUG: 1159968
Change-Id: I6a94aac6f45573216de3f9e673d10db6de5ccb98
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/9274
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Diffstat (limited to 'glusterfs.spec.in')
| -rw-r--r-- | glusterfs.spec.in | 27 | 
1 files changed, 5 insertions, 22 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index ba590430aba..61e5d077d78 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -96,9 +96,6 @@ URL:              http://www.gluster.org/docs/index.php/GlusterFS  Source0:          http://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-%{version}%{?prereltag}.tar.gz  Source1:          glusterd.sysconfig  Source2:          glusterfsd.sysconfig -Source3:          glusterfs-fuse.logrotate -Source4:          glusterd.logrotate -Source5:          glusterfsd.logrotate  Source6:          rhel5-load-fuse-modules  Source11:         glusterfsd.service  Source13:         glusterfsd.init @@ -588,21 +585,8 @@ sed -i 's|option working-directory /etc/glusterd|option working-directory %{_sha  %_init_install %{glusterfsd_service} glusterfsd  %endif -%if ( 0%{_for_fedora_koji_builds} ) -# Client logrotate entry -install -D -p -m 0644 %{SOURCE3} \ -    %{buildroot}%{_sysconfdir}/logrotate.d/glusterfs-fuse - -# Server logrotate entry -install -D -p -m 0644 %{SOURCE4} \ -    %{buildroot}%{_sysconfdir}/logrotate.d/glusterd -# Legacy server logrotate entry -install -D -p -m 0644 %{SOURCE5} \ -    %{buildroot}%{_sysconfdir}/logrotate.d/glusterfsd -%else  install -D -p -m 0644 extras/glusterfs-logrotate \      %{buildroot}%{_sysconfdir}/logrotate.d/glusterfs -%endif  %if ( 0%{!?_without_georeplication:1} )  # geo-rep ghosts @@ -695,7 +679,7 @@ rm -rf %{buildroot}  %files  %doc ChangeLog COPYING-GPLV2 COPYING-LGPLV3 INSTALL README THANKS -%config(noreplace) %{_sysconfdir}/logrotate.d/* +%config(noreplace) %{_sysconfdir}/logrotate.d/glusterfs  %config(noreplace) %{_sysconfdir}/sysconfig/*  %if ( 0%{!?_without_syslog:1} )  %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) @@ -754,7 +738,7 @@ if [ $1 -ge 1 ]; then  fi  %files geo-replication -%{_sysconfdir}/logrotate.d/glusterfs-georep +%config(noreplace) %{_sysconfdir}/logrotate.d/glusterfs-georep  %{_libexecdir}/glusterfs/gsyncd  %{_libexecdir}/glusterfs/python/syncdaemon/*  %{_libexecdir}/glusterfs/gverify.sh @@ -791,14 +775,10 @@ fi  %files server  %doc extras/clear_xattrs.sh -%if ( 0%{_for_fedora_koji_builds} ) -%config(noreplace) %{_sysconfdir}/logrotate.d/glusterd -%endif  %config(noreplace) %{_sysconfdir}/sysconfig/glusterd  %config(noreplace) %{_sysconfdir}/glusterfs  # Legacy configs  %if ( 0%{_for_fedora_koji_builds} ) -%config(noreplace) %{_sysconfdir}/logrotate.d/glusterfsd  %config(noreplace) %{_sysconfdir}/sysconfig/glusterfsd  %endif  # init files @@ -971,6 +951,9 @@ if [ $1 -ge 1 ]; then  fi  %changelog +* Sun Dec 14 2014 Niels de Vos <ndevos@redhat.com> +- logrotate files (#1159968) +  * Thu Sep 25 2014 Kaleb S. KEITHLEY <kkeithle@redhat.com>  - smarter logic in %%post server (#1145000)  | 
