- 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
1 changed files with 10 additions and 1 deletions

View File

@ -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 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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 @@ runhaskell Setup.lhs copy --destdir=${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
%defattr(-,root,root,-)
%doc ANNOUNCE CHANGES LICENSE README TODO doc/happy
@ -54,6 +60,9 @@ rm -rf ${RPM_BUILD_ROOT}
%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
- Autorebuild for GCC 4.3