summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-24 19:56:51 +0200
committerRemi Collet <remi@php.net>2024-09-24 19:56:51 +0200
commit98472a21086609be94434b4a3efc293688f44cc5 (patch)
tree0bb5847ca85a28c9e5c7982c3bd7caf6a9ed449f
parent4710241d43c22083af777dc30652ccf72c305bcf (diff)
rebuild for 8.4.0RC1
-rw-r--r--php-pecl-msgpack.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec
index b66b9df..658672e 100644
--- a/php-pecl-msgpack.spec
+++ b/php-pecl-msgpack.spec
@@ -35,7 +35,7 @@ Name: %{?scl_prefix}php-pecl-msgpack
License: BSD-3-Clause
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
URL: https://pecl.php.net/package/msgpack
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
BuildRequires: make
@@ -131,15 +131,17 @@ 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
@@ -147,12 +149,12 @@ make %{?_smp_mflags}
%{?dtsenable}
# Install the NTS stuff
-make -C NTS install INSTALL_ROOT=%{buildroot}
+%make_install -C NTS
install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
%if %{with_zts}
# Install the ZTS stuff
-make -C ZTS install INSTALL_ROOT=%{buildroot}
+%make_install -C ZTS
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
@@ -238,6 +240,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Sep 24 2024 Remi Collet <remi@remirepo.net> - 3.0.0~RC1-2
+- rebuild for 8.4.0RC1
+
* Mon Aug 26 2024 Remi Collet <remi@remirepo.net> - 3.0.0~RC1-1
- update to 3.0.0RC1
- drop patch merged upstream