From 3b41bb99bffe04975ca0b72c76366d60b948bda9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 15 Dec 2014 06:47:39 +0100 Subject: php-pear-Net-DNS2: 1.4.0 --- php-pear-Net-DNS2.spec | 14 ++++++++------ 1 file 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 - 1.4.0-1 +- Update to 1.4.0 (stable) +- provide php-composer(pear/net_dns2) + * Sun Dec 01 2013 Remi Collet - 1.3.2-1 - Update to 1.3.2 (stable) -- cgit