diff options
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 |