diff options
Diffstat (limited to 'php-pecl-phpy.spec')
-rw-r--r-- | php-pecl-phpy.spec | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/php-pecl-phpy.spec b/php-pecl-phpy.spec index 3f00af4..64b5004 100644 --- a/php-pecl-phpy.spec +++ b/php-pecl-phpy.spec @@ -1,8 +1,8 @@ # remirepo spec file for php-pecl-phpy # -# Copyright (c) 2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2024-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -17,7 +17,7 @@ Summary: An extension for inter-calling Python and PHP Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.0.8 +Version: 1.0.10 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: Apache-2.0 URL: https://pecl.php.net/package/%{pecl_name} @@ -89,13 +89,15 @@ EOF cd %{sources} %{__phpize} +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global cd ../NTS %configure \ --enable-phpy \ --with-libdir=%{_lib} \ --with-php-config=%{__phpconfig} -make %{?_smp_mflags} + +%make_build %if %{with_zts} cd ../ZTS @@ -103,15 +105,15 @@ cd ../ZTS --enable-phpy \ --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} @@ -120,8 +122,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 @@ -163,6 +164,10 @@ cd %{sources} %changelog +* Wed Feb 26 2025 Remi Collet <remi@remirepo.net> - 1.0.10-1 +- update to 1.0.10 +- re-license spec file to CECILL-2.1 + * Fri Sep 6 2024 Remi Collet <remi@remirepo.net> - 1.0.8-1 - update to 1.0.8 - drop patches merged upstream |