- Use selinux raw functions
This commit is contained in:
parent
207d71d6a3
commit
f541a917d5
@ -1,15 +1,14 @@
|
|||||||
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
|
|
||||||
%define WITH_SELINUX 1
|
|
||||||
BuildRequires: libselinux-devel
|
|
||||||
%endif
|
|
||||||
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.4
|
Version: 3.7.4
|
||||||
Release: 4
|
Release: 5
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: logrotate-%{PACKAGE_VERSION}.tar.gz
|
Source: logrotate-%{PACKAGE_VERSION}.tar.gz
|
||||||
|
Patch: logrotate-selinux.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}.root
|
BuildRoot: %{_tmppath}/%{name}-%{version}.root
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The logrotate utility is designed to simplify the administration of
|
The logrotate utility is designed to simplify the administration of
|
||||||
@ -24,12 +23,11 @@ log files on your system.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
|
%patch -p1 -b .rhat
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g" \
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g" \
|
||||||
%if %{WITH_SELINUX}
|
|
||||||
WITH_SELINUX=yes
|
WITH_SELINUX=yes
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -56,6 +54,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
|
||||||
|
* Wed Aug 9 2006 Dan Walsh <dwalsh@redhat.com> 3.7.4-5
|
||||||
|
- Use selinux raw functions
|
||||||
|
|
||||||
* Mon Jul 24 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-4
|
* Mon Jul 24 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-4
|
||||||
- make error message, about ignoring certain config files,
|
- make error message, about ignoring certain config files,
|
||||||
a debug message instead (#196052)
|
a debug message instead (#196052)
|
||||||
|
Loading…
Reference in New Issue
Block a user