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

Remi Collet remi at fedoraproject.org
Thu Jun 13 07:29:36 UTC 2013


commit 4e833c4d6cf69430c42ab209e03c8e71f91222e2
Author: Remi Collet <remi at fedoraproject.org>
Date:   Thu Jun 13 09:29:21 2013 +0200

    update to 1.3.1

 .gitignore             |    1 +
 php-pear-Net-DNS2.spec |   17 ++++++++++-------
 sources                |    2 +-
 3 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f892562..f1a6472 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ package-*.xml
 /Net_DNS2-1.2.4.tgz
 /Net_DNS2-1.2.5.tgz
 /Net_DNS2-1.3.0.tgz
+/Net_DNS2-1.3.1.tgz
diff --git a/php-pear-Net-DNS2.spec b/php-pear-Net-DNS2.spec
index 53d0303..b67d776 100644
--- a/php-pear-Net-DNS2.spec
+++ b/php-pear-Net-DNS2.spec
@@ -3,7 +3,7 @@
 %global pear_name Net_DNS2
 
 Name:           php-pear-Net-DNS2
-Version:        1.3.0
+Version:        1.3.1
 Release:        1%{?dist}
 Summary:        PHP Resolver library used to communicate with a DNS server
 
@@ -57,8 +57,10 @@ The main features for this package include:
 %prep
 %setup -q -c
 cd %{pear_name}-%{version}
-# Package.xml is V2
-mv ../package.xml %{name}.xml
+# https://pear.php.net/bugs/19977
+sed -e '/composer.json/d' \
+    -e '/TODO/s/role="data"/role="doc"/' \
+    ../package.xml >%{name}.xml
 
 
 %build
@@ -79,10 +81,6 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %check
-# https://pear.php.net/bugs/19886
-sed -e 's/<?$/<?php/' \
-    -i %{buildroot}%{pear_testdir}/%{pear_name}/tests/Net_DNS2_DNSSECTest.php
-
 if ping -c 1 google.com &>/dev/null
 then
   suite=AllTests.php
@@ -117,8 +115,13 @@ fi
 
 
 %changelog
+* Thu Jun 13 2013 Remi Collet <remi at fedoraproject.org> - 1.3.1-1
+- Update to 1.3.1
+- hack for https://pear.php.net/bugs/19977 (bad role)
+
 * Mon Apr 08 2013 Remi Collet <remi at fedoraproject.org> - 1.3.0-1
 - Update to 1.3.0
+- hack for https://pear.php.net/bugs/19886 (shortag)
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index d95a808..e1edc9b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dae6857f17516bc3fa1e653afada971c  Net_DNS2-1.3.0.tgz
+023a639579391c1da9e0463ff837fcb3  Net_DNS2-1.3.1.tgz


More information about the scm-commits mailing list