summaryrefslogtreecommitdiffstats
path: root/php-phalcon5.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-10 08:44:49 +0200
committerRemi Collet <remi@php.net>2024-07-10 08:44:49 +0200
commit04806beb662398b90c8a6c4c5b624d010c6db368 (patch)
tree863c92da14408dc72561fb5ec982c20e3b8701df /php-phalcon5.spec
parente3b4b8b2f33555563d138ed7c444b3966c61624c (diff)
update to 5.8.0HEADmaster
Diffstat (limited to 'php-phalcon5.spec')
-rw-r--r--php-phalcon5.spec29
1 files changed, 6 insertions, 23 deletions
diff --git a/php-phalcon5.spec b/php-phalcon5.spec
index 2ed8334..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.7.0
+%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
@@ -198,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
@@ -235,6 +215,9 @@ 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