diff options
-rw-r--r-- | PHPINFO | 2 | ||||
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-pecl-var-representation.spec | 35 |
3 files changed, 12 insertions, 27 deletions
@@ -2,4 +2,4 @@ var_representation var_representation support => enabled -var_representation version => 0.1.4 +var_representation version => 0.1.5 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #102 var_representation version 0.1.4 ] { +Extension [ <persistent> extension #98 var_representation version 0.1.5 ] { - Constants [2] { Constant [ int VAR_REPRESENTATION_SINGLE_LINE ] { 1 } diff --git a/php-pecl-var-representation.spec b/php-pecl-var-representation.spec index 75f3f26..c0ffce4 100644 --- a/php-pecl-var-representation.spec +++ b/php-pecl-var-representation.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-var-representation # -# Copyright (c) 2021-2023 Remi Collet +# Copyright (c) 2021-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -15,7 +15,7 @@ %global pecl_name var_representation %global ini_name 40-%{pecl_name}.ini -%global upstream_version 0.1.4 +%global upstream_version 0.1.5 #global upstream_prever RC1 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure @@ -23,7 +23,7 @@ Summary: A compact, more readable alternative to var_export Name: %{?scl_prefix}php-pecl-var-representation Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD-3-Clause URL: https://pecl.php.net/package/%{pecl_name} @@ -33,6 +33,8 @@ BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.2 BuildRequires: %{?scl_prefix}php-pear +# used by tests +BuildRequires: tzdata Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -58,7 +60,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"/' \ - %{?_licensedir:-e '/COPYING/s/role="doc"/role="src"/' } \ + -e '/COPYING/s/role="doc"/role="src"/' \ -i package.xml cd %{sources} @@ -151,28 +153,8 @@ REPORT_EXIT_STATUS=1 \ %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}/COPYING} +%license %{sources}/COPYING %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -186,6 +168,9 @@ fi %changelog +* Mon Aug 12 2024 Remi Collet <remi@remirepo.net> - 0.1.5-1 +- update to 0.1.5 + * Mon Sep 4 2023 Remi Collet <remi@remirepo.net> - 0.1.4-2 - build out of sources tree |