do not run compression program in debug mode (#166912)
This commit is contained in:
parent
e1a963ad7b
commit
ef202888cb
@ -5,13 +5,14 @@ BuildRequires: libselinux-devel
|
|||||||
Summary: Rotates, compresses, removes and mails system log files.
|
Summary: Rotates, compresses, removes and mails system log files.
|
||||||
Name: logrotate
|
Name: logrotate
|
||||||
Version: 3.7.2
|
Version: 3.7.2
|
||||||
Release: 3
|
Release: 4
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: logrotate-%{PACKAGE_VERSION}.tar.gz
|
Source: logrotate-%{PACKAGE_VERSION}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}.root
|
BuildRoot: %{_tmppath}/%{name}-%{version}.root
|
||||||
Patch1: logrotate-3.7.2-yearly.patch
|
Patch1: logrotate-3.7.2-yearly.patch
|
||||||
Patch2: logrotate-3.7.2-sharedscript.patch
|
Patch2: logrotate-3.7.2-sharedscript.patch
|
||||||
|
Patch3: logrotate-3.7.2-debugCompress.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The logrotate utility is designed to simplify the administration of
|
The logrotate utility is designed to simplify the administration of
|
||||||
@ -28,6 +29,7 @@ log files on your system.
|
|||||||
%setup
|
%setup
|
||||||
%patch1 -p1 -b .yearly
|
%patch1 -p1 -b .yearly
|
||||||
%patch2 -p1 -b .sharedscript
|
%patch2 -p1 -b .sharedscript
|
||||||
|
%patch3 -p1 -b .debugCompress
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g" \
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g" \
|
||||||
@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) /var/lib/logrotate.status
|
%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) /var/lib/logrotate.status
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 23 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-4
|
||||||
|
- do not run compression program in debug mode (#166912)
|
||||||
|
|
||||||
* Wed Sep 07 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-3
|
* Wed Sep 07 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-3
|
||||||
- even when sharedscript option used, do postrotate
|
- even when sharedscript option used, do postrotate
|
||||||
script before compress (#167575)
|
script before compress (#167575)
|
||||||
|
Loading…
Reference in New Issue
Block a user