summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-28 14:06:16 +0200
committerRemi Collet <remi@remirepo.net>2018-06-28 14:06:16 +0200
commit431fb730b9346b42f7efdf68a78ba40f085e337f (patch)
treeca0f775637f30bc41bcc2cf99b4e49c0bd61f2dc
parent31611e0d29bf622fe664e1fd518ddf9efebad173 (diff)
update to 1.0.8-dev for PHP 7.3
-rw-r--r--PHPINFO13
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-yaconf.spec21
3 files changed, 26 insertions, 10 deletions
diff --git a/PHPINFO b/PHPINFO
new file mode 100644
index 0000000..40304bb
--- /dev/null
+++ b/PHPINFO
@@ -0,0 +1,13 @@
+
+yaconf
+
+yaconf support => enabled
+version => 1.0.7
+yaconf config last check time => Thu Jun 28 14:05:57 2018
+
+
+parsed filename => mtime
+
+Directive => Local Value => Master Value
+yaconf.directory => no value => no value
+yaconf.check_delay => 300 => 300
diff --git a/REFLECTION b/REFLECTION
index 51f97d9..d891b59 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #168 yaconf version 1.0.7 ] {
+Extension [ <persistent> extension #173 yaconf version 1.0.7 ] {
- INI {
Entry [ yaconf.directory <SYSTEM> ]
diff --git a/php-pecl-yaconf.spec b/php-pecl-yaconf.spec
index 2f71172..d3b50ad 100644
--- a/php-pecl-yaconf.spec
+++ b/php-pecl-yaconf.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-yaconf
#
-# Copyright (c) 2015-2017 Remi Collet
+# Copyright (c) 2015-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -8,20 +8,20 @@
#
%{?scl: %scl_package php-yaconf}
-%global gh_commit dbbb2f1bcab98b8b72e2a9f7954c4ddd87755cda
+%global gh_commit d5f267aff435534e0a4b1c60055cea07e2956bc6
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner laruence
%global gh_project yaconf
-#global gh_date 20150910
+%global gh_date 20180622
%global pecl_name yaconf
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
Summary: Yet Another Configurations Container
Name: %{?scl_prefix}php-pecl-yaconf
-Version: 1.0.7
+Version: 1.0.8
%if 0%{?gh_date:1}
-Release: 0.9.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.1.%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
%else
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
@@ -31,6 +31,7 @@ License: PHP
Group: Development/Languages
URL: https://github.com/%{gh_owner}/%{gh_project}
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
@@ -162,9 +163,8 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
-for i in $(grep 'role="test"' package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 NTS/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
-done
+mkdir -p %{buildroot}%{pecl_testdir}/%{pecl_name}
+cp -pr NTS/tests %{buildroot}%{pecl_testdir}/%{pecl_name}/tests
%check
@@ -198,7 +198,7 @@ REPORT_EXIT_STATUS=1 \
%endif
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -242,6 +242,9 @@ fi
%changelog
+* Thu Jun 28 2018 Remi Collet <remi@remirepo.net> - 1.0.8-0.1.20180622.d5f267a
+- update to 1.0.8-dev for PHP 7.3
+
* Mon Jan 1 2018 Remi Collet <remi@remirepo.net> - 1.0.7-1
- Update to 1.0.7