summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-01 07:06:23 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-01 07:06:23 +0100
commit793416885c3ad5d01ecfd2f982958c0f061ef68b (patch)
treed4b6017fedb349eab6423af639e8f4d02698494e
parentd576cacd0749b9ad88eeeddeb95a4bcb2efaae99 (diff)
php-pecl-bitset: 3.0.0 (php 7, beta)
-rw-r--r--REFLECTION-PHP7164
-rw-r--r--php-pecl-bitset-php7.spec30
2 files changed, 172 insertions, 22 deletions
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 [ <persistent> extension #60 bitset version 3.0.0 ] {
+
+ - Classes [1] {
+ Class [ <internal:bitset> class BitSet ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [3] {
+ Method [ <internal:bitset> static public method fromArray ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $arr ]
+ }
+ }
+
+ Method [ <internal:bitset> static public method fromString ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $str ]
+ }
+ }
+
+ Method [ <internal:bitset> static public method fromRawValue ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $str ]
+ }
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [20] {
+ Method [ <internal:bitset, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:bitset> public method andOp ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method andNotOp ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method cardinality ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method clear ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method get ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:bitset> public method getRawValue ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method intersects ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method isEmpty ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method length ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method nextClearBit ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method nextSetBit ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method orOp ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method previousClearBit ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method previousSetBit ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method set ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method size ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method toArray ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> public method xorOp ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:bitset> 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 <remi@fedoraproject.org> - 3.0.0-1
+- Update to 3.0.0 (php 7, beta)
+
* Mon Feb 29 2016 Remi Collet <remi@fedoraproject.org> - 2.0.3-1
- Update to 2.0.3