- add selinux unconfined_execmem_exec_t file context

This commit is contained in:
Jens Petersen 2008-10-14 01:05:38 +00:00
parent 499609ffaf
commit 1a613dc611

View File

@ -1,6 +1,6 @@
Name: happy Name: happy
Version: 1.17 Version: 1.17
Release: 2%{?dist} Release: 3%{?dist}
License: BSD License: BSD
Group: Development/Tools Group: Development/Tools
URL: http://haskell.org/happy/ URL: http://haskell.org/happy/
@ -9,6 +9,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf, ghc, docbook-dtds, docbook-style-xsl, libxslt, libxml2 BuildRequires: autoconf, ghc, docbook-dtds, docbook-style-xsl, libxslt, libxml2
Summary: The LALR(1) Parser Generator for Haskell Summary: The LALR(1) Parser Generator for Haskell
ExcludeArch: alpha ppc64 ExcludeArch: alpha ppc64
Requires(post): policycoreutils
%description %description
Happy is a parser generator system for Haskell, similar to the tool Happy is a parser generator system for Haskell, similar to the tool
@ -46,6 +47,11 @@ runhaskell Setup.lhs copy --destdir=${RPM_BUILD_ROOT}
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
%post
semanage fcontext -a -t unconfined_execmem_exec_t %{_bindir}/%{name} >/dev/null 2>&1 || :
restorecon %{_bindir}/%{name}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ANNOUNCE CHANGES LICENSE README TODO doc/happy %doc ANNOUNCE CHANGES LICENSE README TODO doc/happy
@ -54,6 +60,9 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog %changelog
* Tue Oct 14 2008 Jens Petersen <petersen@redhat.com> - 1.17-3
- add selinux unconfined_execmem_exec_t file context
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.17-2 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.17-2
- Autorebuild for GCC 4.3 - Autorebuild for GCC 4.3