rpms/policycoreutils/devel policycoreutils.spec,1.587,1.588

Daniel J Walsh dwalsh at fedoraproject.org
Thu Jan 22 20:24:38 UTC 2009


Author: dwalsh

Update of /cvs/extras/rpms/policycoreutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25681

Modified Files:
	policycoreutils.spec 
Log Message:
* Thu Jan 22 2009 Dan Walsh <dwalsh at redhat.com> 2.0.61-5
- Move sepolgen-ifgen to post python



Index: policycoreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/policycoreutils/devel/policycoreutils.spec,v
retrieving revision 1.587
retrieving revision 1.588
diff -u -r1.587 -r1.588
--- policycoreutils.spec	22 Jan 2009 19:03:57 -0000	1.587
+++ policycoreutils.spec	22 Jan 2009 20:24:07 -0000	1.588
@@ -82,14 +82,14 @@
 ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
 ln -sf consolehelper %{buildroot}%{_bindir}/selinux-polgengui
 
-desktop-file-install --vendor fedora \
-		     --dir ${RPM_BUILD_ROOT}%{_datadir}/applications	\
-		     --add-category Settings				\
-		     %{SOURCE3}
-
-desktop-file-install --vendor fedora \
-		     --dir ${RPM_BUILD_ROOT}%{_datadir}/applications	\
-		     %{SOURCE6}
+desktop-file-install	--vendor fedora \
+			--dir ${RPM_BUILD_ROOT}%{_datadir}/applications	\
+			--add-category Settings				\
+			%{SOURCE3}
+
+desktop-file-install	--vendor fedora \
+			--dir ${RPM_BUILD_ROOT}%{_datadir}/applications	\
+			%{SOURCE6}
 %find_lang %{name}
 
 %package python
@@ -119,7 +119,11 @@
 /var/lib/sepolgen/perm_map
 
 %post python
-[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen  > /dev/null 
+[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen 
+exit 0
+
+%triggerin python -- selinux-policy
+[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen 
 exit 0
 
 %package newrole
@@ -132,6 +136,7 @@
 or level of a logged in user.
 
 %files newrole
+%defattr(-,root,root)
 %attr(4755,root,root) %{_bindir}/newrole
 %{_mandir}/man1/newrole.1.gz
 
@@ -150,6 +155,7 @@
 system-config-selinux is a utility for managing the SELinux environment
 
 %files gui
+%defattr(-,root,root)
 %{_bindir}/system-config-selinux
 %{_bindir}/selinux-polgengui
 %{_datadir}/applications/fedora-system-config-selinux.desktop
@@ -357,7 +363,7 @@
 	* Ensure that setfiles -p output is newline terminated from Russell Coker.
 
 * Fri Aug 1 2008 Dan Walsh <dwalsh at redhat.com> 2.0.53-3
-- Allow semanage user to add group lists %groupname
+- Allow semanage user to add group lists % groupname
 
 * Tue Jul 29 2008 Dan Walsh <dwalsh at redhat.com> 2.0.53-2
 - Fix help 




More information about the scm-commits mailing list