[php-pear-Net-DNS2] update to 1.4.0

Remi Collet remi at fedoraproject.org
Mon Dec 15 06:15:54 UTC 2014


commit 0db5ca8b3a212cedb6b9d053a06e041017ea38c0
Author: Remi Collet <remi at fedoraproject.org>
Date:   Mon Dec 15 07:16:04 2014 +0100

    update to 1.4.0

 .gitignore             |    1 +
 php-pear-Net-DNS2.spec |   22 +++++++++++-----------
 sources                |    2 +-
 3 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5e7abb1..132cb94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ package-*.xml
 /Net_DNS2-1.3.0.tgz
 /Net_DNS2-1.3.1.tgz
 /Net_DNS2-1.3.2.tgz
+/Net_DNS2-1.4.0.tgz
diff --git a/php-pear-Net-DNS2.spec b/php-pear-Net-DNS2.spec
index 0e8d02d..3411e53 100644
--- a/php-pear-Net-DNS2.spec
+++ b/php-pear-Net-DNS2.spec
@@ -1,6 +1,6 @@
 # spec file for php-pear-Net-DNS2
 #
-# Copyright (c) 2012-2013 Remi Collet
+# Copyright (c) 2012-2014 Remi Collet
 # License: CC-BY-SA
 # http://creativecommons.org/licenses/by-sa/4.0/
 #
@@ -12,8 +12,8 @@
 %global pear_name Net_DNS2
 
 Name:           php-pear-Net-DNS2
-Version:        1.3.2
-Release:        2%{?dist}
+Version:        1.4.0
+Release:        1%{?dist}
 Summary:        PHP Resolver library used to communicate with a DNS server
 
 Group:          Development/Libraries
@@ -43,11 +43,9 @@ Requires:       php-spl
 # Optional
 Requires:       php-filter
 Requires:       php-openssl
-%if 0%{?fedora} || 0%{?rhel} > 6
-Requires:       php-mhash
-%endif
 
 Provides:       php-pear(%{pear_name}) = %{version}
+Provides:       php-composer(pear/net_dns2) = %{version}
 
 
 %description
@@ -61,7 +59,7 @@ The main features for this package include:
 * Includes a separate, more intuitive Updater class for handling dynamic update
 * Support zone signing using TSIG and SIG(0) for updates and zone transfers
 * Includes a local cache using shared memory or flat file to improve performance
-* includes many more RR's, including DNSSEC RR's. 
+* includes many more RR's, including DNSSEC RR's.
 
 
 %prep
@@ -88,6 +86,7 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %check
+cd %{pear_name}-%{version}/tests
 if ping -c 1 google.com &>/dev/null
 then
   suite=AllTests.php
@@ -95,10 +94,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
@@ -122,6 +118,10 @@ fi
 
 
 %changelog
+* Mon Dec 15 2014 Remi Collet <remi at fedoraproject.org> - 1.4.0-1
+- Update to 1.4.0 (stable)
+- provide php-composer(pear/net_dns2)
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 73b0dfa..1e2051b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b44102f69fd2bfa841baf9075130c620  Net_DNS2-1.3.2.tgz
+a5479c258fdbb51f42fa0c800b5af3c8  Net_DNS2-1.4.0.tgz


More information about the scm-commits mailing list