diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-22 16:37:13 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-22 16:37:13 +0200 |
commit | f59dd7a1d0243cd7fc8d4b1525464869d61f6afa (patch) | |
tree | 4683675b33b05e0c347a7d837886bddd90400a68 | |
parent | be5c9a09efbb0fa96cecd912bd803715e0e61379 (diff) |
php-suhosin: add virtual rh-php56 provides
-rw-r--r-- | php-suhosin.spec | 9 |
1 files changed, 8 insertions, 1 deletions
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 <rcollet@redhat.com> - 0.9.38-3 +- add virtual "rh-php56" provides + * Sat Jun 20 2015 Remi Collet <remi@fedoraproject.org> - 0.9.38-2 - allow build against rh-php56 (as more-php56) |