summaryrefslogtreecommitdiffstats
path: root/php-phalcon5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phalcon5.spec')
-rw-r--r--php-phalcon5.spec33
1 files changed, 10 insertions, 23 deletions
diff --git a/php-phalcon5.spec b/php-phalcon5.spec
index edfedbb..8e88791 100644
--- a/php-phalcon5.spec
+++ b/php-phalcon5.spec
@@ -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.8.0
#global upstream_prever RC4
#global upstream_low %%(echo %%{upstream_prever} | tr '[:upper:]' '[:lower:]')
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
@@ -77,7 +77,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 +101,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
@@ -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,12 @@ fi
%changelog
+* 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