rpms/happy/devel happy.spec,1.5,1.6

Jens Petersen petersen at fedoraproject.org
Tue Oct 14 01:06:09 UTC 2008


Author: petersen

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

Modified Files:
	happy.spec 
Log Message:
- add selinux unconfined_execmem_exec_t file context




Index: happy.spec
===================================================================
RCS file: /cvs/extras/rpms/happy/devel/happy.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- happy.spec	18 Feb 2008 21:25:44 -0000	1.5
+++ happy.spec	14 Oct 2008 01:05:38 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           happy
 Version:        1.17
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        BSD
 Group:          Development/Tools
 URL:            http://haskell.org/happy/
@@ -9,6 +9,7 @@
 BuildRequires:  autoconf, ghc, docbook-dtds, docbook-style-xsl, libxslt, libxml2
 Summary:        The LALR(1) Parser Generator for Haskell
 ExcludeArch:    alpha ppc64
+Requires(post): policycoreutils
 
 %description
 Happy is a parser generator system for Haskell, similar to the tool
@@ -46,6 +47,11 @@
 rm -rf ${RPM_BUILD_ROOT}
 
 
+%post
+semanage fcontext -a -t unconfined_execmem_exec_t %{_bindir}/%{name} >/dev/null 2>&1 || :
+restorecon %{_bindir}/%{name}
+
+
 %files
 %defattr(-,root,root,-)
 %doc ANNOUNCE CHANGES LICENSE README TODO doc/happy
@@ -54,6 +60,9 @@
 
 
 %changelog
+* Tue Oct 14 2008 Jens Petersen <petersen at redhat.com> - 1.17-3
+- add selinux unconfined_execmem_exec_t file context
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.17-2
 - Autorebuild for GCC 4.3
 




More information about the scm-commits mailing list