From 793416885c3ad5d01ecfd2f982958c0f061ef68b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Mar 2016 07:06:23 +0100 Subject: php-pecl-bitset: 3.0.0 (php 7, beta) --- REFLECTION-PHP7 | 164 ++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-bitset-php7.spec | 30 +++------ 2 files changed, 172 insertions(+), 22 deletions(-) create mode 100644 REFLECTION-PHP7 diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 new file mode 100644 index 0000000..0fad9a4 --- /dev/null +++ b/REFLECTION-PHP7 @@ -0,0 +1,164 @@ +Extension [ extension #60 bitset version 3.0.0 ] { + + - Classes [1] { + Class [ class BitSet ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [3] { + Method [ static public method fromArray ] { + + - Parameters [1] { + Parameter #0 [ $arr ] + } + } + + Method [ static public method fromString ] { + + - Parameters [1] { + Parameter #0 [ $str ] + } + } + + Method [ static public method fromRawValue ] { + + - Parameters [1] { + Parameter #0 [ $str ] + } + } + } + + - Properties [0] { + } + + - Methods [20] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method andOp ] { + + - Parameters [0] { + } + } + + Method [ public method andNotOp ] { + + - Parameters [0] { + } + } + + Method [ public method cardinality ] { + + - Parameters [0] { + } + } + + Method [ public method clear ] { + + - Parameters [0] { + } + } + + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + + Method [ public method getRawValue ] { + + - Parameters [0] { + } + } + + Method [ public method intersects ] { + + - Parameters [0] { + } + } + + Method [ public method isEmpty ] { + + - Parameters [0] { + } + } + + Method [ public method length ] { + + - Parameters [0] { + } + } + + Method [ public method nextClearBit ] { + + - Parameters [0] { + } + } + + Method [ public method nextSetBit ] { + + - Parameters [0] { + } + } + + Method [ public method orOp ] { + + - Parameters [0] { + } + } + + Method [ public method previousClearBit ] { + + - Parameters [0] { + } + } + + Method [ public method previousSetBit ] { + + - Parameters [0] { + } + } + + Method [ public method set ] { + + - Parameters [0] { + } + } + + Method [ public method size ] { + + - Parameters [0] { + } + } + + Method [ public method toArray ] { + + - Parameters [0] { + } + } + + Method [ public method xorOp ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + } + } + } +} + diff --git a/php-pecl-bitset-php7.spec b/php-pecl-bitset-php7.spec index 8fcab05..d2282eb 100644 --- a/php-pecl-bitset-php7.spec +++ b/php-pecl-bitset-php7.spec @@ -7,30 +7,22 @@ # Please, preserve the changelog entries # %{?scl: %scl_package php-pecl-bitset} -%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} -%{!?__pecl: %global __pecl %{_bindir}/pecl} -%{!?__php: %global __php %{_bindir}/php} -%global with_zts 0%{?__ztsphp:1} +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name bitset %global with_tests %{?_without_tests:0}%{!?_without_tests:1} -%if "%{php_version}" < "5.6" -%global ini_name %{pecl_name}.ini -%else %global ini_name 40-%{pecl_name}.ini -%endif Summary: BITSET library Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 2.0.3 +Version: 3.0.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: %{?scl_prefix}php-devel > 5.3 +BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -50,14 +42,12 @@ Obsoletes: php53-pecl-%{pecl_name} <= %{version} Obsoletes: php53u-pecl-%{pecl_name} <= %{version} Obsoletes: php54-pecl-%{pecl_name} <= %{version} Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} <= %{version} Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} -%endif +Obsoletes: php70u-pecl-%{pecl_name} <= %{version} +Obsoletes: php70w-pecl-%{pecl_name} <= %{version} %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -121,8 +111,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make -C NTS install INSTALL_ROOT=%{buildroot} # install config file @@ -197,12 +185,7 @@ REPORT_EXIT_STATUS=1 \ %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -217,6 +200,9 @@ rm -rf %{buildroot} %changelog +* Tue Mar 1 2016 Remi Collet - 3.0.0-1 +- Update to 3.0.0 (php 7, beta) + * Mon Feb 29 2016 Remi Collet - 2.0.3-1 - Update to 2.0.3 -- cgit