Revert "fixup selinux file context when doing a scl build"
This reverts commit 49a8938c40
.
Fixing up the selinux file context is the responsibility of
the scl meta-package, not of any individual package.
This commit is contained in:
parent
c50e6b3287
commit
bbbedabab5
@ -186,9 +186,6 @@ BuildRequires: /bin/ps
|
|||||||
|
|
||||||
%{?scl:Requires:%scl_runtime}
|
%{?scl:Requires:%scl_runtime}
|
||||||
|
|
||||||
# We need to fixup selinux file context when doing a scl build.
|
|
||||||
%{?scl:Requires(post): /usr/sbin/semanage, /sbin/restorecon}
|
|
||||||
|
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc ppc64 s390x %{arm}
|
ExclusiveArch: %{ix86} x86_64 ppc ppc64 s390x %{arm}
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
%define valarch x86
|
%define valarch x86
|
||||||
@ -461,15 +458,6 @@ echo ===============END TESTING===============
|
|||||||
%{_libdir}/valgrind/libmpiwrap*.so
|
%{_libdir}/valgrind/libmpiwrap*.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
|
||||||
# Fixup selinux file context inside software collection
|
|
||||||
%if 0%{?rhel} == 5
|
|
||||||
%{?scl:/usr/sbin/semanage fcontext -a -t unconfined_execmem_exec_t %{_bindir}/valgrind}
|
|
||||||
%else
|
|
||||||
%{?scl:/usr/sbin/semanage fcontext -a -t execmem_exec_t %{_bindir}/valgrind}
|
|
||||||
%endif
|
|
||||||
%{?scl:/sbin/restorecon %{_bindir}/valgrind}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue May 28 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1:3.8.1-16
|
* Tue May 28 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1:3.8.1-16
|
||||||
- Provide virtual -static package in -devel subpackage (#609624).
|
- Provide virtual -static package in -devel subpackage (#609624).
|
||||||
|
Loading…
Reference in New Issue
Block a user