summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-01-04 15:41:25 +0100
committerRemi Collet <remi@php.net>2022-01-04 15:41:25 +0100
commiteea72eb40e9b7e7313c727a01b0346130bbff932 (patch)
tree47989cd5f8f1bda744060ce08082b574460a20ff
parenta8cdb0ad46ac81b97ebf4e9a70387c9f96e4d7d8 (diff)
update to 1.7.0
raise dependency on PHP 7.2
-rw-r--r--.gitignore2
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION9
-rw-r--r--php-pecl-lzf.spec37
4 files changed, 19 insertions, 31 deletions
diff --git a/.gitignore b/.gitignore
index 1ab5c4f..01f0400 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
+clog
package-*.xml
*.tgz
+*.tar.bz2
*.tar.gz
*.tar.xz
*.tar.xz.asc
diff --git a/PHPINFO b/PHPINFO
index 3f6eaf2..32e6b93 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,5 +2,5 @@
lzf
lzf support => enabled
-extension version => 1.6.8
+extension version => 1.7.0
liblzf version => system
diff --git a/REFLECTION b/REFLECTION
index 6972d04..7840d47 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,22 +1,25 @@
-Extension [ <persistent> extension #82 lzf version 1.6.8 ] {
+Extension [ <persistent> extension #82 lzf version 1.7.0 ] {
- Functions {
Function [ <internal:lzf> function lzf_compress ] {
- Parameters [1] {
- Parameter #0 [ <required> $string ]
+ Parameter #0 [ <required> string $string ]
}
+ - Return [ string|false ]
}
Function [ <internal:lzf> function lzf_decompress ] {
- Parameters [1] {
- Parameter #0 [ <required> $string ]
+ Parameter #0 [ <required> string $string ]
}
+ - Return [ string|false ]
}
Function [ <internal:lzf> function lzf_optimized_for ] {
- Parameters [0] {
}
+ - Return [ int|false ]
}
}
}
diff --git a/php-pecl-lzf.spec b/php-pecl-lzf.spec
index 0f86281..b3a297d 100644
--- a/php-pecl-lzf.spec
+++ b/php-pecl-lzf.spec
@@ -9,7 +9,6 @@
# Please preserve changelog entries
#
%if 0%{?scl:1}
-%global sub_prefix %{scl_prefix}
%scl_package php-pecl-lzf
%endif
@@ -22,9 +21,9 @@
%global ini_name 40-%{ext_name}.ini
%endif
-Name: %{?sub_prefix}php-pecl-lzf
-Version: 1.6.8
-Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Name: %{?scl_prefix}php-pecl-lzf
+Version: 1.7.0
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: Extension to handle LZF de/compression
Group: Development/Languages
License: PHP
@@ -33,7 +32,7 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-devel >= 7.2
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: liblzf-devel
@@ -43,10 +42,6 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
Provides: %{?scl_prefix}php-%{ext_name} = %{version}
Provides: %{?scl_prefix}php-%{ext_name}%{?_isa} = %{version}
-%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-pecl-%{ext_name} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{ext_name}%{?_isa} = %{version}-%{release}
-%endif
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
@@ -56,21 +51,11 @@ Obsoletes: php53-pecl-%{ext_name} <= %{version}
Obsoletes: php53u-pecl-%{ext_name} <= %{version}
Obsoletes: php54-pecl-%{ext_name} <= %{version}
Obsoletes: php54w-pecl-%{ext_name} <= %{version}
-%if "%{php_version}" > "5.5"
Obsoletes: php55u-pecl-%{ext_name} <= %{version}
-%endif
-%if "%{php_version}" > "5.6"
Obsoletes: php56u-pecl-%{ext_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.0"
Obsoletes: php70u-pecl-%{ext_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.1"
Obsoletes: php71u-pecl-%{ext_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.2"
Obsoletes: php72u-pecl-%{ext_name} <= %{version}
-%endif
%if "%{php_version}" > "7.3"
Obsoletes: php73-pecl-%{ext_name} <= %{version}
%endif
@@ -180,11 +165,8 @@ cd NTS
--define extension=%{buildroot}/%{php_extdir}/%{ext_name}.so \
--modules | grep -i '^%{ext_name}$'
-TEST_PHP_EXECUTABLE=%{__php} \
-REPORT_EXIT_STATUS=1 \
-NO_INTERACTION=1 \
%{__php} -n run-tests.php \
- -n -q \
+ -n -P -q \
-d extension=%{buildroot}%{php_extdir}/%{ext_name}.so
%if %{with_zts}
@@ -194,11 +176,8 @@ cd ../ZTS
--define extension=%{buildroot}/%{php_ztsextdir}/%{ext_name}.so \
--modules | grep '^%{ext_name}$'
-TEST_PHP_EXECUTABLE=%{__ztsphp} \
-REPORT_EXIT_STATUS=1 \
-NO_INTERACTION=1 \
%{__ztsphp} -n run-tests.php \
- -n -q \
+ -n -P -q \
-d extension_dir=modules \
-d extension=%{buildroot}%{php_ztsextdir}/%{ext_name}.so
%endif
@@ -238,6 +217,10 @@ fi
%changelog
+* Tue Jan 4 2022 Remi Collet <remi@remirepo.net> - 1.7.0-1
+- update to 1.7.0
+- raise dependency on PHP 7.2
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 1.6.8-5
- rebuild for 8.1.0RC1