diff options
| -rw-r--r-- | REFLECTION | 57 | ||||
| -rw-r--r-- | php-pecl-sync.spec | 24 | 
2 files changed, 75 insertions, 6 deletions
@@ -1,6 +1,6 @@ -Extension [ <persistent> extension #143 sync version 1.0.1 ] { +Extension [ <persistent> extension #126 sync version 1.1.0 ] { -  - Classes [4] { +  - Classes [5] {      Class [ <internal:sync> class SyncMutex ] {        - Constants [0] { @@ -173,6 +173,59 @@ Extension [ <persistent> extension #143 sync version 1.0.1 ] {          }        }      } + +    Class [ <internal:sync> class SyncSharedMemory ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [5] { +        Method [ <internal:sync, ctor> public method __construct ] { + +          - Parameters [2] { +            Parameter #0 [ <required> $name ] +            Parameter #1 [ <required> $size ] +          } +        } + +        Method [ <internal:sync> public method first ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:sync> public method size ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:sync> public method write ] { + +          - Parameters [2] { +            Parameter #0 [ <required> $string ] +            Parameter #1 [ <optional> $start ] +          } +        } + +        Method [ <internal:sync> public method read ] { + +          - Parameters [2] { +            Parameter #0 [ <optional> $start ] +            Parameter #1 [ <optional> $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 <remi@fedoraproject.org> - 1.1.0-1 +- Update to 1.1.0 +  * Tue Mar  8 2016 Remi Collet <remi@fedoraproject.org> - 1.0.1-3  - adapt for F24  - drop runtime dependency on pear, new scriptlets  | 
