[php-bartlett-PHP-CompatInfo/f16] update to 2.5.0
Remi Collet
remi at fedoraproject.org
Sun Jul 8 07:06:54 UTC 2012
commit 3b4d1071c1d0c32579c4099074b60f6d5ff59e10
Author: remi <fedora at famillecollet.com>
Date: Sun Jul 8 09:06:47 2012 +0200
update to 2.5.0
.gitignore | 2 ++
php-bartlett-PHP-CompatInfo.spec | 25 +++++++++++++++++++------
sources | 2 +-
3 files changed, 22 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 60efd00..6b47ca6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@ package-*.xml
/PHP_CompatInfo-2.2.4.tgz
/PHP_CompatInfo-2.2.5.tgz
/PHP_CompatInfo-2.3.0.tgz
+/PHP_CompatInfo-2.4.0.tgz
+/PHP_CompatInfo-2.5.0.tgz
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index 9514af8..8cdce80 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -13,7 +13,7 @@
Name: php-bartlett-PHP-CompatInfo
-Version: 2.3.0
+Version: 2.5.0
Release: 1%{?dist}
Summary: Find out version and the extensions required for a piece of code to run
@@ -24,9 +24,10 @@ URL: http://php5.laurent-laville.org/compatinfo/
Source0: http://bartlett.laurent-laville.org/get/%{pear_name}-%{version}%{?prever}.tgz
# Remove unused asciidoc*.js scripts
-Patch1: PHP_CompatInfo-del.patch
+Patch1: %{pear_name}-del.patch
# Install generated doc using pear command
-Patch2: PHP_CompatInfo-addhtml.patch
+Patch2: %{pear_name}-addhtml.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -115,13 +116,18 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
sed -i -e 's/\r//' %{buildroot}%{_bindir}/phpci
sed -i -e 's/\r//' %{buildroot}%{pear_docdir}/%{pear_name}/README.markdown
+# Create default package configuration
+sed -e '/reference=/s/PHP5/ALL/' \
+ %{buildroot}%{pear_cfgdir}/%{pear_name}/phpcompatinfo.xml.dist \
+ >%{buildroot}%{pear_cfgdir}/%{pear_name}/phpcompatinfo.xml
+
%check
cd %{pear_name}-%{version}%{?prever}
-# OK (444, Assertions: 8380, Skipped: 7) when all extensions installed
+# Test: 621, Assertions: 8965, Skipped: 7, when most extensions installed
# OK, but incomplete or skipped tests!
-# Tests: 405, Assertions: 5647, Skipped: 159.
+# Tests: 441, Assertions: 5720, Skipped: 222, in mock
# Reference tests need some fixes for EL-4, so ignore result for now
%{_bindir}/phpunit \
-d date.timezone=UTC \
@@ -149,7 +155,10 @@ fi
%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%dir %{pear_cfgdir}/%{pear_name}
-%config(noreplace) %{pear_cfgdir}/%{pear_name}/*dist
+# Editable configuration
+%config(noreplace) %{pear_cfgdir}/%{pear_name}/phpcompatinfo.xml
+# Default configuration
+%{pear_cfgdir}/%{pear_name}/phpcompatinfo.xml.dist
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Bartlett/PHP/Compat*
%{pear_testdir}/%{pear_name}
@@ -158,6 +167,10 @@ fi
%changelog
+* Fri Jun 22 2012 Remi Collet <remi at fedoraproject.org> - 2.5.0-1
+- Version 2.5.0 (stable) - API 2.5.0 (stable)
+- use reference="ALL" in provided config
+
* Mon Mar 05 2012 Remi Collet <remi at fedoraproject.org> - 2.3.0-1
- Version 2.3.0 (stable) - API 2.3.0 (stable)
diff --git a/sources b/sources
index 26158b4..b21dcec 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f784a279e250deb0c60f2d4de5bb2c70 PHP_CompatInfo-2.3.0.tgz
+40d71a55642d6cd2854cb8f34a8b7856 PHP_CompatInfo-2.5.0.tgz
More information about the scm-commits
mailing list