summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-05-15 07:54:29 +0200
committerRemi Collet <remi@php.net>2025-05-15 07:54:29 +0200
commitf31492abdc7ebd50da17ab590ca482c29295ecd2 (patch)
treee8c0bb567802907b8ffefad3be45d67682bc9b7c
parentdf16842fa3cd5524019541d60052d783b434b5d2 (diff)
update to 0.1.1 (no change)HEADmaster
EL-10: use system libbzip3
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--php-kjdev-bzip3.spec20
3 files changed, 14 insertions, 10 deletions
diff --git a/PHPINFO b/PHPINFO
index 7ca7040..fc90dc1 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,5 +2,5 @@
bzip3
Bzip3 support => enabled
-Extension Version => 0.1.0
+Extension Version => 0.1.1
Library Version => 1.4.0
diff --git a/REFLECTION b/REFLECTION
index 7e4b2d4..e0790ff 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #72 bzip3 version 0.1.0 ] {
+Extension [ <persistent> extension #72 bzip3 version 0.1.1 ] {
- Functions {
Function [ <internal:bzip3> function Bzip3\compress ] {
diff --git a/php-kjdev-bzip3.spec b/php-kjdev-bzip3.spec
index f648aee..20871c0 100644
--- a/php-kjdev-bzip3.spec
+++ b/php-kjdev-bzip3.spec
@@ -13,13 +13,9 @@
%endif
%bcond_without tests
-%if 0%{?rhel} == 10
-%bcond_with libbzip3
-%else
%bcond_without libbzip3
-%endif
-%global gh_commit 221fb296c2506cf1b588b28ac0db0b227e480b08
+%global gh_commit f2f1ca5bdb002adece623829adb886ba449ed08b
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner kjdev
%global gh_project php-ext-bzip3
@@ -27,8 +23,8 @@
%global pie_vend kjdev
%global pie_proj bzip3
%global ini_name 40-%{pecl_name}.ini
-
-%global upstream_version 0.1.0
+%global lib_version 1.5.2
+%global upstream_version 0.1.1
#global upstream_prever rc
%global sources %{gh_project}-%{gh_commit}
@@ -53,7 +49,7 @@ BuildRequires: %{?scl_prefix}php-devel >= 8.1
%if %{with libbzip3}
BuildRequires: pkgconfig(bzip3)
%else
-Provides: bundled(libbzip3) = 1.5.1
+Provides: bundled(libbzip3) = %{lib_version}
%endif
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
@@ -74,6 +70,10 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%setup -qc
cd %{sources}
+: Check bundled libray version
+grep -E "LIBBZIP3_VERSON=[0-9]" config.m4
+grep -q "LIBBZIP3_VERSON=%{lib_version}" config.m4
+
%if %{with libbz3}
# Use the system library
rm -r lib
@@ -150,6 +150,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu May 15 2025 Remi Collet <remi@remirepo.net> - 0.1.1-1
+- update to 0.1.1 (no change)
+- EL-10: use system libbzip3
+
* Fri Apr 11 2025 Remi Collet <remi@remirepo.net> - 0.1.0-1
- update to 0.1.0