diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-04-13 12:41:56 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-04-13 12:41:56 +0200 |
commit | de58fe55f871154a304d2efb24e76fccac4420ce (patch) | |
tree | c56f470ab8b9a76220b21c83c6c2c0a0ac54d59a /php-pecl-uopz.spec | |
parent | 02e5398a41e1170c40459a81e969e84a2641589c (diff) |
php-pecl-uopz: 5.0.0 (php 7)
Diffstat (limited to 'php-pecl-uopz.spec')
-rw-r--r-- | php-pecl-uopz.spec | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/php-pecl-uopz.spec b/php-pecl-uopz.spec index 50c4ac2..50732b9 100644 --- a/php-pecl-uopz.spec +++ b/php-pecl-uopz.spec @@ -6,7 +6,14 @@ # # Please, preserve the changelog entries # -%{?scl: %scl_package php-pecl-uopz} +%if 0%{?scl:1} +%if "%{scl}" == "rh-php56" +%global sub_prefix more-php56- +%else +%global sub_prefix %{scl_prefix} +%endif +%scl_package php-pecl-uopz +%endif %global with_zts 0%{?__ztsphp:1} %global pecl_name uopz @@ -19,7 +26,7 @@ %endif Summary: User Operations for Zend -Name: %{?scl_prefix}php-pecl-%{pecl_name} +Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 2.0.7 Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP @@ -39,8 +46,10 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +%endif %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} # Other third party repo stuff |