diff options
Diffstat (limited to 'php-pecl-rpminfo.spec')
-rw-r--r-- | php-pecl-rpminfo.spec | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec index 05ab26c..c4353f5 100644 --- a/php-pecl-rpminfo.spec +++ b/php-pecl-rpminfo.spec @@ -20,7 +20,7 @@ Summary: RPM information Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.1.1 -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: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{sources}.tgz @@ -83,13 +83,15 @@ EOF cd %{sources} %{__phpize} +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global cd ../NTS %configure \ --enable-rpminfo \ --with-libdir=%{_lib} \ --with-php-config=%{__phpconfig} -make %{?_smp_mflags} + +%make_build %{__php} --no-php-ini \ --define extension=modules/%{pecl_name}.so \ @@ -101,15 +103,15 @@ cd ../ZTS --enable-rpminfo \ --with-libdir=%{_lib} \ --with-php-config=%{__ztsphpconfig} -make %{?_smp_mflags} + +%make_build %endif %install %{?dtsenable} -make -C NTS \ - install INSTALL_ROOT=%{buildroot} +%make_install -C NTS # install config file install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} @@ -118,8 +120,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %if %{with_zts} -make -C ZTS \ - install INSTALL_ROOT=%{buildroot} +%make_install -C ZTS install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif @@ -186,6 +187,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Sep 24 2024 Remi Collet <remi@remirepo.net> - 1.1.1-2 +- rebuild for 8.4.0RC1 + * Tue Sep 3 2024 Remi Collet <remi@remirepo.net> - 1.1.1-1 - update to 1.1.1 |