summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-12-15 06:47:39 +0100
committerRemi Collet <fedora@famillecollet.com>2014-12-15 06:47:39 +0100
commit3b41bb99bffe04975ca0b72c76366d60b948bda9 (patch)
tree8b0024ac155e44f68f7bc229e08d8bd133045cfc
parentec50e3cbbf49fb0efb1006554ff873e38a20b4f1 (diff)
php-pear-Net-DNS2: 1.4.0
-rw-r--r--php-pear-Net-DNS2.spec14
1 files changed, 8 insertions, 6 deletions
diff --git a/php-pear-Net-DNS2.spec b/php-pear-Net-DNS2.spec
index cc68aa9..fcb824d 100644
--- a/php-pear-Net-DNS2.spec
+++ b/php-pear-Net-DNS2.spec
@@ -11,7 +11,7 @@
%global pear_name Net_DNS2
Name: php-pear-Net-DNS2
-Version: 1.3.2
+Version: 1.4.0
Release: 1%{?dist}
Summary: PHP Resolver library used to communicate with a DNS server
@@ -42,10 +42,10 @@ Requires: php-sockets
Requires: php-spl
# Optional
Requires: php-filter
-Requires: php-mhash
Requires: php-openssl
Provides: php-pear(%{pear_name}) = %{version}
+Provides: php-composer(pear/net_dns2) = %{version}
%description
@@ -92,6 +92,7 @@ rm -rf %{buildroot}
%check
+cd %{pear_name}-%{version}/tests
if ping -c 1 google.com &>/dev/null
then
suite=AllTests.php
@@ -99,10 +100,7 @@ else
: Resolver test disabled
suite=Net_DNS2_ParserTest.php
fi
-phpunit \
- -d date.timezone=UTC \
- -d include_path=.:%{buildroot}%{pear_phpdir}:%{pear_phpdir} \
- %{buildroot}%{pear_testdir}/%{pear_name}/tests/$suite
+phpunit -d include_path=..:. $suite
%post
@@ -127,6 +125,10 @@ fi
%changelog
+* Mon Dec 15 2014 Remi Collet <remi@fedoraproject.org> - 1.4.0-1
+- Update to 1.4.0 (stable)
+- provide php-composer(pear/net_dns2)
+
* Sun Dec 01 2013 Remi Collet <remi@fedoraproject.org> - 1.3.2-1
- Update to 1.3.2 (stable)