From e227e90efc5fb7adecda5213209bc5e2804a3425 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 27 Nov 2025 09:57:25 +0100 Subject: update to 3.2.17RC1 add pie virtual provides drop patches merged upstream --- php-pecl-igbinary.spec | 46 ++++++++++++++++++++-------------------------- 1 file changed, 20 insertions(+), 26 deletions(-) (limited to 'php-pecl-igbinary.spec') diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec index bcf3e71..9f34153 100644 --- a/php-pecl-igbinary.spec +++ b/php-pecl-igbinary.spec @@ -14,28 +14,26 @@ %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: 8%{?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 -Patch0: 393.patch -Patch1: 398.patch -Patch2: 399.patch - BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-pear @@ -48,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 @@ -82,23 +85,9 @@ 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} -%patch -P0 -p1 -b .pr393 -%patch -P1 -p1 -b .pr398 -%patch -P2 -p1 -b .pr399 - # Check version subdir=php7 extver=$(sed -n '/#define PHP_IGBINARY_VERSION/{s/.* "//;s/".*$//;p}' src/$subdir/igbinary.h) @@ -239,6 +228,11 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Nov 27 2025 Remi Collet - 3.2.17~RC1-1 +- update to 3.2.17RC1 +- add pie virtual provides +- drop patches merged upstream + * Tue Oct 7 2025 Remi Collet - 3.2.16-8 - rebuild for PHP 8.5.0RC2 - re-enable full test suite -- cgit