From e9f3661b5091810d4de6984c22e725854f78092b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 27 Nov 2016 07:30:15 +0100 Subject: php-pecl-sync: 1.1.0 --- REFLECTION | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- php-pecl-sync.spec | 24 +++++++++++++++++++---- 2 files changed, 75 insertions(+), 6 deletions(-) diff --git a/REFLECTION b/REFLECTION index 067a603..678eda9 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,6 @@ -Extension [ extension #143 sync version 1.0.1 ] { +Extension [ extension #126 sync version 1.1.0 ] { - - Classes [4] { + - Classes [5] { Class [ class SyncMutex ] { - Constants [0] { @@ -173,6 +173,59 @@ Extension [ extension #143 sync version 1.0.1 ] { } } } + + Class [ class SyncSharedMemory ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $size ] + } + } + + Method [ public method first ] { + + - Parameters [0] { + } + } + + Method [ public method size ] { + + - Parameters [0] { + } + } + + Method [ public method write ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $start ] + } + } + + Method [ public method read ] { + + - Parameters [2] { + Parameter #0 [ $start ] + Parameter #1 [ $length ] + } + } + } + } } } diff --git a/php-pecl-sync.spec b/php-pecl-sync.spec index ad191dd..4e26fd2 100644 --- a/php-pecl-sync.spec +++ b/php-pecl-sync.spec @@ -6,7 +6,10 @@ # # Please, preserve the changelog entries # -%{?scl: %scl_package php-pecl-sync} +%if 0%{?scl:1} +%global sub_prefix %{scl_prefix} +%scl_package php-pecl-sync +%endif %global with_zts 0%{?__ztsphp:1} %global pecl_name sync @@ -17,9 +20,9 @@ %endif Summary: Named and unnamed synchronization objects -Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.0.1 -Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Name: %{?sub_prefix}php-pecl-%{pecl_name} +Version: 1.1.0 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: MIT Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -37,8 +40,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 @@ -54,6 +59,14 @@ Obsoletes: php55w-pecl-%{pecl_name} <= %{version} Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.0" +Obsoletes: php70u-pecl-%{pecl_name} <= %{version} +Obsoletes: php70w-pecl-%{pecl_name} <= %{version} +%endif +%if "%{php_version}" > "7.1" +Obsoletes: php71u-pecl-%{pecl_name} <= %{version} +Obsoletes: php71w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -211,6 +224,9 @@ rm -rf %{buildroot} %changelog +* Sun Nov 27 2016 Remi Collet - 1.1.0-1 +- Update to 1.1.0 + * Tue Mar 8 2016 Remi Collet - 1.0.1-3 - adapt for F24 - drop runtime dependency on pear, new scriptlets -- cgit