- Parametrize SELinux (bug #174067).

This commit is contained in:
Tim Waugh 2005-12-02 17:15:25 +00:00
parent 1e34cf27fc
commit d37e2a4e28

View File

@ -1,3 +1,7 @@
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
%define WITH_SELINUX 1
%endif
Summary: The GNU core utilities: a set of tools commonly used in shell scripts Summary: The GNU core utilities: a set of tools commonly used in shell scripts
Name: coreutils Name: coreutils
Version: 5.93 Version: 5.93
@ -5,7 +9,9 @@ Release: 4
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/ Url: http://www.gnu.org/software/coreutils/
%if %{WITH_SELINUX}
BuildRequires: libselinux-devel >= 1.25.6-1 BuildRequires: libselinux-devel >= 1.25.6-1
%endif
Requires: libselinux >= 1.25.6-1 Requires: libselinux >= 1.25.6-1
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
@ -92,8 +98,10 @@ the old GNU fileutils, sh-utils, and textutils packages.
%patch908 -p1 -b .getgrouplist %patch908 -p1 -b .getgrouplist
%patch912 -p1 -b .overflow %patch912 -p1 -b .overflow
%if %{WITH_SELINUX}
#SELinux #SELinux
%patch950 -p1 -b .selinux %patch950 -p1 -b .selinux
%endif
# Don't run basic-1 test, since it breaks when run in the background # Don't run basic-1 test, since it breaks when run in the background
# (bug #102033). # (bug #102033).
@ -260,6 +268,7 @@ fi
%changelog %changelog
* Fri Dec 2 2005 Tim Waugh <twaugh@redhat.com> * Fri Dec 2 2005 Tim Waugh <twaugh@redhat.com>
- Parametrize SELinux (bug #174067).
- Fix runuser.pamd (bug #173807). - Fix runuser.pamd (bug #173807).
* Thu Nov 25 2005 Tim Waugh <twaugh@redhat.com> 5.93-4 * Thu Nov 25 2005 Tim Waugh <twaugh@redhat.com> 5.93-4