From 22a395eefdaf66fca56fdbd061b7cc8fbd340038 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2015 07:11:32 +0000 Subject: import php55-2.0-1.el7 --- diff --git a/SPECS/php55.spec b/SPECS/php55.spec index da4260c..f6ffb0d 100644 --- a/SPECS/php55.spec +++ b/SPECS/php55.spec @@ -8,8 +8,8 @@ Summary: Package that installs PHP 5.5 Name: %scl_name -Version: 1.1 -Release: 7%{?dist} +Version: 2.0 +Release: 1%{?dist} Group: Development/Languages License: GPLv2+ @@ -36,6 +36,7 @@ that install PHP 5.5 language. Summary: Package that handles %scl Software Collection. Group: Development/Languages Requires: scl-utils +Requires(post): policycoreutils-python libselinux-utils %description runtime Package shipping essential scripts to work with %scl Software Collection. @@ -108,6 +109,13 @@ sed -e 's/@SCL@/%{scl}/g' %{SOURCE0} \ | tee -a %{buildroot}%{_root_sysconfdir}/rpm/macros.%{scl}-config +%post runtime +# Simple copy of context from system root to SCL root. +semanage fcontext -a -e / %{?_scl_root} &>/dev/null || : +selinuxenabled && load_policy || : +restorecon -R %{?_scl_root} &>/dev/null || : + + %files @@ -129,6 +137,9 @@ sed -e 's/@SCL@/%{scl}/g' %{SOURCE0} \ %changelog +* Tue Mar 17 2015 Remi Collet - 2.0-1 +- fix incorrect selinux contexts #1194336 + * Mon Mar 31 2014 Honza Horak - 1.1-7 - Fix path typo in README Related: #1061455