[php-pear-Net-DNS2] 1.3.0
Remi Collet
remi at fedoraproject.org
Mon Apr 8 05:16:03 UTC 2013
commit b6c1db9bf74c091dc1517fd6d4a841ef7e545de9
Author: Remi Collet <remi at fedoraproject.org>
Date: Mon Apr 8 07:14:41 2013 +0200
1.3.0
php-pear-Net-DNS2.spec | 36 +++++++++++++++++++++---------------
1 files changed, 21 insertions(+), 15 deletions(-)
---
diff --git a/php-pear-Net-DNS2.spec b/php-pear-Net-DNS2.spec
index 9eb0f60..24bdad9 100644
--- a/php-pear-Net-DNS2.spec
+++ b/php-pear-Net-DNS2.spec
@@ -3,8 +3,8 @@
%global pear_name Net_DNS2
Name: php-pear-Net-DNS2
-Version: 1.2.5
-Release: 2%{?dist}
+Version: 1.3.0
+Release: 1%{?dist}
Summary: PHP Resolver library used to communicate with a DNS server
Group: Development/Libraries
@@ -12,8 +12,6 @@ License: BSD
URL: http://pear.php.net/package/Net_DNS2
Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear(PEAR)
# for tests
@@ -22,10 +20,18 @@ BuildRequires: php-pear(pear.phpunit.de/PHPUnit)
Requires(post): %{__pear}
Requires(postun): %{__pear}
Requires: php-pear(PEAR)
-# extensions detected by phpci (+ php-filter, not yet available in EL)
-Requires: php-ctype, php-date, php-json, php-openssl
-Requires: php-pcre, php-shmop, php-sockets, php-spl
-# Optional dependency
+# extensions detected by phpci
+Requires: php-ctype
+Requires: php-date
+Requires: php-hash
+Requires: php-json
+Requires: php-pcre
+Requires: php-shmop
+Requires: php-sockets
+Requires: php-spl
+# Optional
+Requires: php-filter
+Requires: php-openssl
%if 0%{?fedora} || 0%{?rhel} > 6
Requires: php-mhash
%endif
@@ -60,8 +66,6 @@ cd %{pear_name}-%{version}
%install
-rm -rf %{buildroot}
-
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
@@ -73,11 +77,11 @@ mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-%clean
-rm -rf %{buildroot}
-
-
%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
@@ -103,7 +107,6 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%dir %{pear_phpdir}/Net
@@ -113,6 +116,9 @@ fi
%changelog
+* Mon Apr 08 2013 Remi Collet <remi at fedoraproject.org> - 1.3.0-1
+- Update to 1.3.0
+
* 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
More information about the scm-commits
mailing list