From f59dd7a1d0243cd7fc8d4b1525464869d61f6afa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 22 Jun 2015 16:37:13 +0200 Subject: php-suhosin: add virtual rh-php56 provides --- php-suhosin.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-suhosin.spec') diff --git a/php-suhosin.spec b/php-suhosin.spec index 716c326..81f2915 100644 --- a/php-suhosin.spec +++ b/php-suhosin.spec @@ -35,7 +35,7 @@ Name: %{?sub_prefix}php-suhosin Version: 0.9.38 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Summary: Suhosin is an advanced protection system for PHP installations Group: Development/Languages @@ -54,6 +54,10 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} +## Compat SCL (rh-php56) +Provides: %{?scl_prefix}php-suhosin = %{version}-%{release} +Provides: %{?scl_prefix}php-suhosin%{?_isa} = %{version}-%{release} + %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} # Other third party repo stuff Obsoletes: php53-%{ext_name} <= %{version} @@ -191,6 +195,9 @@ rm -rf %{buildroot} %changelog +* Mon Jun 22 2015 Remi Collet - 0.9.38-3 +- add virtual "rh-php56" provides + * Sat Jun 20 2015 Remi Collet - 0.9.38-2 - allow build against rh-php56 (as more-php56) -- cgit