diff options
author | Remi Collet <remi@remirepo.net> | 2024-09-24 19:20:58 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-09-24 19:20:58 +0200 |
commit | 99ffc845627ad7a404d2c3200d326e87df69af0f (patch) | |
tree | b94e9f3c6db1b1d3b69f1508d0e3f1182d62fbc2 | |
parent | f1db07ceff56a51330b18c6515f8bf434cc06a26 (diff) |
-rw-r--r-- | php-pecl-igbinary.spec | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec index 8536d2b..a61273f 100644 --- a/php-pecl-igbinary.spec +++ b/php-pecl-igbinary.spec @@ -28,7 +28,7 @@ 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: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD-3-Clause URL: https://pecl.php.net/package/igbinary Source0: https://pecl.php.net/get/%{sources}.tgz @@ -127,22 +127,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 +152,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,6 +169,8 @@ done %check cd %{sources} +# PHP 8.4.0RC1 +rm tests/igbinary_009b_php8.phpt MOD="" # drop extension load from phpt @@ -238,6 +242,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* 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 |