diff options
author | Remi Collet <remi@remirepo.net> | 2025-03-09 08:17:30 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-03-09 08:17:30 +0100 |
commit | 36732c55c7d2a13088fcf7e14be2a6141433b703 (patch) | |
tree | 2aa0aee7605ec083cc7f90a0e42a532b8dbbf3c1 /php-phalcon5.spec | |
parent | 04806beb662398b90c8a6c4c5b624d010c6db368 (diff) |
update to 5.9.0
re-license spec file to CECILL-2.1
Diffstat (limited to 'php-phalcon5.spec')
-rw-r--r-- | php-phalcon5.spec | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/php-phalcon5.spec b/php-phalcon5.spec index 8e88791..cdd0591 100644 --- a/php-phalcon5.spec +++ b/php-phalcon5.spec @@ -1,8 +1,8 @@ # remirepo spec file for php-phalcon5 # -# Copyright (c) 2014-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2014-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -13,7 +13,7 @@ %global pecl_name phalcon # after 40-json.ini, 20-pdo.ini %global ini_name 50-%{pecl_name}.ini -%global upstream_version 5.8.0 +%global upstream_version 5.9.0 #global upstream_prever RC4 #global upstream_low %%(echo %%{upstream_prever} | tr '[:upper:]' '[:lower:]') %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} @@ -34,7 +34,7 @@ Source0: https://pecl.php.net/get/%{sources}.tgz BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 8.0 -BuildRequires: %{?scl_prefix}php-devel < 8.4 +BuildRequires: %{?scl_prefix}php-devel < 8.5 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-hash BuildRequires: %{?scl_prefix}php-json @@ -138,17 +138,18 @@ export CFLAGS="%{optflags} -Wno-incompatible-pointer-types" cd %{sources} %{__phpize} +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global : Build NTS extension cd ../NTS peclconf %{__phpconfig} -make %{?_smp_mflags} +%make_build %if %{with_zts} : Build ZTS extension cd ../ZTS peclconf %{__ztsphpconfig} -make %{?_smp_mflags} +%make_build %endif @@ -159,12 +160,12 @@ make %{?_smp_mflags} install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml # Install the NTS stuff -make -C NTS install INSTALL_ROOT=%{buildroot} +%make_install -C NTS install -Dpm644 %{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 -Dpm644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif @@ -215,6 +216,10 @@ done %changelog +* Sun Mar 9 2025 Remi Collet <remi@remirepo.net> - 5.9.0-1 +- update to 5.9.0 +- re-license spec file to CECILL-2.1 + * Wed Jul 10 2024 Remi Collet <remi@remirepo.net> - 5.8.0-1 - update to 5.8.0 |