summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-28 20:24:02 +0100
committerRemi Collet <fedora@famillecollet.com>2012-10-28 20:24:02 +0100
commite1966308a78930e8acc8fe796b5264a618cbe369 (patch)
tree86bad2c211618de588180dc1a4a024eac542a32d
parent1943ba9339c93d49b33de26c0b60776899bf0873 (diff)
php-theseer-fDOMDocument: version 1.3.2
-rw-r--r--php-theseer-fDOMDocument.spec21
1 files changed, 19 insertions, 2 deletions
diff --git a/php-theseer-fDOMDocument.spec b/php-theseer-fDOMDocument.spec
index d377408..b8bc0b9 100644
--- a/php-theseer-fDOMDocument.spec
+++ b/php-theseer-fDOMDocument.spec
@@ -4,7 +4,7 @@
%global channel pear.netpirates.net
Name: php-theseer-fDOMDocument
-Version: 1.3.1
+Version: 1.3.2
Release: 1%{?dist}
Summary: An Extension to PHP standard DOM
@@ -17,6 +17,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear(PEAR) >= 1.9.1
BuildRequires: php-channel(%{channel})
+# For test
+BuildRequires: php-pear(pear.phpunit.de/PHPUnit)
+BuildRequires: php-dom
+BuildRequires: php-libxml
Requires: php-pear(PEAR) >= 1.9.1
Requires: php-channel(%{channel})
@@ -58,6 +62,13 @@ mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
+%check
+cd %{pear_name}-%{version}
+sed -e s:autoload:TheSeer/fDOMDocument/autoload: \
+ phpunit.xml.dist >phpunit.xml
+phpunit -d date.timezone=UTC
+
+
%clean
rm -rf %{buildroot}
@@ -76,12 +87,18 @@ fi
%files
%defattr(-,root,root,-)
+%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/TheSeer/%{pear_name}
+%{pear_testdir}/%{pear_name}
%changelog
-* Thu Oct 11 2012 Remi Collet <remi@fedoraproject.org> - 1.0.5-1
+* Sun Oct 28 2012 Remi Collet <remi@fedoraproject.org> - 1.3.2-1
+- Version 1.3.2 (stable) - API 1.3.0 (stable)
+- run test units
+
+* Thu Oct 11 2012 Remi Collet <remi@fedoraproject.org> - 1.3.1-1
- Version 1.3.1 (stable) - API 1.3.0 (stable)
- Initial packaging