diff options
Diffstat (limited to 'php-phalcon5.spec')
-rw-r--r-- | php-phalcon5.spec | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/php-phalcon5.spec b/php-phalcon5.spec index edfedbb..f04ffdd 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.6.2 +%global upstream_version 5.9.3 #global upstream_prever RC4 #global upstream_low %%(echo %%{upstream_prever} | tr '[:upper:]' '[:lower:]') %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} @@ -33,8 +33,7 @@ URL: https://phalcon.io/ 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.0 with %{?scl_prefix}php-devel < 8.5) BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-hash BuildRequires: %{?scl_prefix}php-json @@ -77,7 +76,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -qc -%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} +sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml cd %{sources} # Sanity check, really often broken @@ -101,6 +100,7 @@ extension=%{pecl_name}.so ; Configuration ;phalcon.db.escape_identifiers = On ;phalcon.db.force_casting = Off +;phalcon.form.strict_entity_property_check = Off ;phalcon.orm.case_insensitive_column_map = Off ;phalcon.orm.cast_last_insert_id_to_int = Off ;phalcon.orm.cast_on_hydrate = Off @@ -137,17 +137,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 @@ -158,12 +159,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 @@ -197,28 +198,8 @@ done %endif -%if 0%{?fedora} < 24 && 0%{?rhel} < 8 -# when pear installed alone, after us -%triggerin -- %{?scl_prefix}php-pear -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -# posttrans as pear can be installed after us -%posttrans -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -%postun -if [ $1 -eq 0 -a -x %{__pecl} ] ; then - %{pecl_uninstall} %{pecl_name} >/dev/null || : -fi -%endif - - %files -%{?_licensedir:%license %{sources}/LICENSE.txt} +%license %{sources}/LICENSE.txt %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -234,6 +215,25 @@ fi %changelog +* Wed Apr 23 2025 Remi Collet <remi@remirepo.net> - 5.9.3-1 +- update to 5.9.3 + +* Sun Apr 6 2025 Remi Collet <remi@remirepo.net> - 5.9.2-1 +- update to 5.9.2 + +* Tue Apr 1 2025 Remi Collet <remi@remirepo.net> - 5.9.1-1 +- update to 5.9.1 + +* 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 + +* Sun May 19 2024 Remi Collet <remi@remirepo.net> - 5.7.0-1 +- update to 5.7.0 + * Fri Mar 15 2024 Remi Collet <remi@remirepo.net> - 5.6.2-1 - update to 5.6.2 |