diff options
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r-- | php-pecl-protobuf.spec | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec index c6b0d27..2084169 100644 --- a/php-pecl-protobuf.spec +++ b/php-pecl-protobuf.spec @@ -12,8 +12,8 @@ %global pecl_name protobuf %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 4.27.1 -#global upstream_prever RC3 +%global upstream_version 4.28.0 +%global upstream_prever RC2 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure @@ -55,8 +55,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO # Don't install/register tests sed -e 's/role="test"/role="src"/' \ -e '/utf8_range/s/role="doc"/role="src"/' \ - %{?_licensedir: -e '/LICENSE/s/role="doc"/role="src"/' } \ - %{!?_licensedir:-e '/LICENSE/s/role="src"/role="doc"/' } \ + -e '/LICENSE/s/role="doc"/role="src"/' \ -i package.xml cd %{sources} @@ -147,29 +146,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*} -%{!?_licensedir:%doc %{pecl_docdir}/%{pecl_name}} +%license %{sources}/LICENSE* %{pecl_xmldir}/%{name}.xml %config(noreplace) %{php_inidir}/%{ini_name} @@ -182,6 +160,15 @@ fi %changelog +* Fri Aug 9 2024 Remi Collet <remi@remirepo.net> - 4.28.0~RC2-1 +- update to 4.28.0RC2 (no change) + +* Fri Jul 12 2024 Remi Collet <remi@remirepo.net> - 4.28.0~RC1-1 +- update to 4.28.0RC1 + +* Mon Jul 1 2024 Remi Collet <remi@remirepo.net> - 4.27.2-1 +- update to 4.27.2 + * Thu Jun 6 2024 Remi Collet <remi@remirepo.net> - 4.27.1-1 - update to 4.27.1 (no change) |