summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-08-31 07:36:02 +0200
committerRemi Collet <remi@php.net>2022-08-31 07:36:02 +0200
commit2a70999e41ce3d8676d4748866f21d8d2b8c9a7b (patch)
tree2ef55c8ca35fabb290b6fa8df760f081fbdf9e3b
parent84b3556f600e964d753a2e59b1e113da4d6943bc (diff)
update to 0.1.2
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION6
-rw-r--r--php-pecl-var-representation.spec27
3 files changed, 11 insertions, 24 deletions
diff --git a/PHPINFO b/PHPINFO
index daa2556..392161f 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,4 +2,4 @@
var_representation
var_representation support => enabled
-var_representation version => 0.1.1
+var_representation version => 0.1.2
diff --git a/REFLECTION b/REFLECTION
index e7136c4..212e9fa 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #105 var_representation version 0.1.1 ] {
+Extension [ <persistent> extension #101 var_representation version 0.1.2 ] {
- Constants [2] {
Constant [ int VAR_REPRESENTATION_SINGLE_LINE ] { 1 }
@@ -9,8 +9,8 @@ Extension [ <persistent> extension #105 var_representation version 0.1.1 ] {
Function [ <internal:var_representation> function var_representation ] {
- Parameters [2] {
- Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> int $flags ]
+ Parameter #0 [ <required> mixed $value ]
+ Parameter #1 [ <optional> int $flags = 0 ]
}
- Return [ string ]
}
diff --git a/php-pecl-var-representation.spec b/php-pecl-var-representation.spec
index 3ca13e0..4a65c46 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 Remi Collet
+# Copyright (c) 2021-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -19,13 +19,13 @@
%global pecl_name var_representation
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 0.1.1
+%global upstream_version 0.1.2
#global upstream_prever RC1
-Summary: var_representation extension
+Summary: A compact, more readable alternative to var_export
Name: %{?scl_prefix}php-pecl-var-representation
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 3%{?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
URL: https://pecl.php.net/package/%{pecl_name}
@@ -48,22 +48,6 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
-%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-# Other third party repo stuff
-%if "%{php_version}" > "7.3"
-Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.4"
-Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "8.0"
-Obsoletes: php80-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "8.1"
-Obsoletes: php81-pecl-%{pecl_name} <= %{version}
-%endif
-%endif
-
%description
var_representation is a compact alternative to var_export that
@@ -207,6 +191,9 @@ fi
%changelog
+* Wed Aug 31 2022 Remi Collet <remi@remirepo.net> - 0.1.2-1
+- update to 0.1.2
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 0.1.1-3
- rebuild for 8.1.0RC1