summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-igbinary.spec90
3 files changed, 58 insertions, 36 deletions
diff --git a/PHPINFO b/PHPINFO
index c54f80f..629806a 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
igbinary
igbinary support => enabled
-igbinary version => 3.2.16
+igbinary version => 3.2.17RC1
igbinary APCu serializer ABI => 0
igbinary session support => yes
diff --git a/REFLECTION b/REFLECTION
index 61a0a21..3b83d90 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #76 igbinary version 3.2.16 ] {
+Extension [ <persistent> extension #88 igbinary version 3.2.17RC1 ] {
- Dependencies {
Dependency [ standard (Required) ]
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec
index 8536d2b..9f34153 100644
--- a/php-pecl-igbinary.spec
+++ b/php-pecl-igbinary.spec
@@ -3,10 +3,9 @@
#
# Fedora spec file for php-pecl-igbinary
#
-# Copyright (c) 2010-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
-#
+# SPDX-FileCopyrightText: Copyright 2010-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
# Please, preserve the changelog entries
#
@@ -15,20 +14,22 @@
%bcond_without tests
%global pecl_name igbinary
+%global pie_vend igbinary
+%global pie_proj igbinary
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global gh_commit 6a2d5b7ea71489c4d7065dc7746d37cfa80d501c
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 3.2.16
-#global upstream_prever RC1
+%global upstream_version 3.2.17
+%global upstream_prever RC1
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
Summary: Replacement for the standard PHP serializer
Name: %{?scl_prefix}php-pecl-igbinary
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 1%{?dist}
License: BSD-3-Clause
URL: https://pecl.php.net/package/igbinary
Source0: https://pecl.php.net/get/%{sources}.tgz
@@ -45,11 +46,16 @@ BuildRequires: tzdata
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
-Obsoletes: %{?scl_prefix}php-%{pecl_name} <= 1.1.1
-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}
+# Extension
+Obsoletes: %{?scl_prefix}php-%{pecl_name} <= 1.1.1
+Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# PECL
+Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# PIE
+Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
+Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -79,16 +85,6 @@ These are the files needed to compile programs using Igbinary
%prep
%setup -q -c
-%if 0%{?gh_date}
-%{__php} -r '
- $pkg = simplexml_load_file("NTS/package.xml");
- $pkg->date = substr("%{gh_date}",0,4)."-".substr("%{gh_date}",4,2)."-".substr("%{gh_date}",6,2);
- $pkg->version->release = "%{version}dev";
- $pkg->stability->release = "devel";
- $pkg->asXML("package.xml");
-'
-%endif
-
sed -e '/COPYING/s/role="doc"/role="src"/' -i package.xml
pushd %{sources}
@@ -127,22 +123,24 @@ EOF
cd %{sources}
%{__phpize}
+[ -f Makefile.global ] && GLOBAL=Makefile.global || GLOBAL=build/Makefile.global
+sed -e 's/INSTALL_ROOT/DESTDIR/' -i $GLOBAL
cd ../NTS
%configure --with-php-config=%{__phpconfig}
-make %{?_smp_mflags}
+%make_build
%if %{with_zts}
cd ../ZTS
%configure --with-php-config=%{__ztsphpconfig}
-make %{?_smp_mflags}
+%make_build
%endif
%install
%{?dtsenable}
-make install -C NTS INSTALL_ROOT=%{buildroot}
+%make_install -C NTS
install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
@@ -150,7 +148,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
# Install the ZTS stuff
%if %{with_zts}
-make install -C ZTS INSTALL_ROOT=%{buildroot}
+%make_install -C ZTS
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
@@ -167,7 +165,6 @@ done
%check
cd %{sources}
-
MOD=""
# drop extension load from phpt
sed -e '/^extension=/d' -i tests/*phpt
@@ -204,13 +201,6 @@ REPORT_EXIT_STATUS=1 \
%{__ztsphp} --no-php-ini \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep '^%{pecl_name}$'
-
-%if %{with tests}
-: upstream ZTS test suite
-TEST_PHP_ARGS="-n $MOD -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
-REPORT_EXIT_STATUS=1 \
-%{__ztsphp} -n run-tests.php $OPTS
-%endif
%endif
@@ -238,6 +228,38 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu Nov 27 2025 Remi Collet <remi@remirepo.net> - 3.2.17~RC1-1
+- update to 3.2.17RC1
+- add pie virtual provides
+- drop patches merged upstream
+
+* Tue Oct 7 2025 Remi Collet <remi@remirepo.net> - 3.2.16-8
+- rebuild for PHP 8.5.0RC2
+- re-enable full test suite
+
+* Mon Sep 29 2025 Remi Collet <remi@remirepo.net> - 3.2.16-7
+- only ignore tests using deprecated call in PHP 8.5
+
+* Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 3.2.16-6
+- rebuild for PHP 8.5.0RC1
+- disable test suite with PHP 8.5
+
+* Mon Sep 1 2025 Remi Collet <remi@remirepo.net> - 3.2.16-5
+- fix for PHP 8.5.0beta2 using patch from
+ https://github.com/igbinary/igbinary/pull/399
+
+* Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 3.2.16-4
+- fix for PHP 8.5.0alpha3 using patch from
+ https://github.com/igbinary/igbinary/pull/398
+- re-license spec file to CECILL-2.1
+
+* Mon Sep 30 2024 Remi Collet <remi@remirepo.net> - 3.2.16-3
+- fix test suite with PHP 8.4 using patch from
+ https://github.com/igbinary/igbinary/pull/393
+
+* Tue Sep 24 2024 Remi Collet <remi@remirepo.net> - 3.2.16-2
+- rebuild for 8.4.0RC1
+
* Mon Aug 12 2024 Remi Collet <remi@remirepo.net> - 3.2.16-1
- update to 3.2.16 (no change)
- drop patch merged upstream