[policycoreutils] Eliminate not needed Requires

Daniel J Walsh dwalsh at fedoraproject.org
Thu Jan 19 14:38:43 UTC 2012


commit 68264eb77e9e8846b57f555e574c71a1e29958c6
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Thu Jan 19 09:38:34 2012 -0500

    Eliminate not needed Requires

 policycoreutils.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/policycoreutils.spec b/policycoreutils.spec
index 5e70709..6b3c5de 100644
--- a/policycoreutils.spec
+++ b/policycoreutils.spec
@@ -7,7 +7,7 @@
 Summary: SELinux policy core utilities
 Name:	 policycoreutils
 Version: 2.1.10
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: GPLv2
 Group:	 System Environment/Base
 # Based on git repository with tag 20101221
@@ -38,9 +38,9 @@ BuildRequires: desktop-file-utils dbus-devel dbus-glib-devel
 BuildRequires: python-devel
 Requires: /bin/mount /bin/egrep /bin/awk /usr/bin/diff rpm /bin/sed
 BuildRequires:  systemd-units
-Requires: libsepol >= %{libsepolver} coreutils checkpolicy  libselinux-utils >=  %{libselinuxver}
-Requires(post): systemd-units systemd-sysv chkconfig 
-Requires(preun): systemd-units /sbin/service
+Requires: libsepol >= %{libsepolver} coreutils libselinux-utils >=  %{libselinuxver}
+Requires(post): systemd-units systemd-sysv
+Requires(preun): systemd-units
 Requires(postun): systemd-units
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -135,7 +135,7 @@ Requires: /usr/bin/make
 Requires(pre): python >= 2.6
 Obsoletes: policycoreutils < 2.0.61-2
 Requires: setools-libs-python >= 3.3.7-14
-Requires: python-IPy
+Requires: python-IPy checkpolicy
 
 %description python
 The policycoreutils-python package contains the management tools use to manage an SELinux environment.
@@ -355,18 +355,18 @@ fi
 /bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
 
 %changelog
+* Thu Jan 19 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.10-10
+- Eliminate not needed Requires
+
 * Wed Jan 18 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.10-9
 - fix sepolgen to not crash on echo "" | audit2allow 
-- 
+
 * Mon Jan 16 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.10-8
 - Remove sandbox init script, should no longer be necessary
 
 * Sun Jan 15 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.10-7
 - Add unit file support to sepolgen, and cleanup some of the output.
 
-* Fri Jan 13 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.10-6
-- Make /usr/sbin/restorecon a symbolic link to /sbin/restorecon
-
 * Mon Jan 9 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.10-5
 - Fix English in templates for sepolgen
 


More information about the scm-commits mailing list