[php-pear-Net-DNS] update to 1.0.7
Remi Collet
remi at fedoraproject.org
Mon Apr 2 14:35:01 UTC 2012
commit aa8cdbfe97feacb380179f90275e48746c265636
Author: remi <fedora at famillecollet.com>
Date: Mon Apr 2 16:33:49 2012 +0200
update to 1.0.7
.gitignore | 3 +++
php-pear-Net-DNS.spec | 25 +++++++++++++++----------
sources | 2 +-
3 files changed, 19 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f8afad8..d9964a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,5 @@
+*spec~
+package-*.xml
Net_DNS-1.0.1.tgz
Net_DNS-1.0.5.tgz
+/Net_DNS-1.0.7.tgz
diff --git a/php-pear-Net-DNS.spec b/php-pear-Net-DNS.spec
index 8fe5766..8da9d1c 100644
--- a/php-pear-Net-DNS.spec
+++ b/php-pear-Net-DNS.spec
@@ -2,18 +2,19 @@
%define pear_name Net_DNS
Name: php-pear-Net-DNS
-Version: 1.0.5
-Release: 3%{?dist}
+Version: 1.0.7
+Release: 1%{?dist}
Summary: Resolver library used to communicate with a DNS server
Group: Development/Libraries
License: PHP
URL: http://pear.php.net/package/Net_DNS
Source: http://download.pear.php.net/package/%{pear_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: php-pear >= 1:1.4.9-1.2
BuildArch: noarch
+
Requires: php-pear(PEAR)
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -41,19 +42,19 @@ cd %{pear_name}-%{version}
%install
cd %{pear_name}-%{version}
-rm -rf $RPM_BUILD_ROOT docdir
-%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+rm -rf %{buildroot}
+%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_phpdir}/.??*
# Install XML package description
-install -d $RPM_BUILD_ROOT%{pear_xmldir}
-install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+install -d %{buildroot}%{pear_xmldir}
+install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post
@@ -73,9 +74,13 @@ fi
%dir %{pear_phpdir}/Net
%{pear_phpdir}/Net/DNS
%{pear_phpdir}/Net/DNS.php
-%exclude %{pear_phpdir}/tests
+%{pear_testdir}/%{pear_name}
+
%changelog
+* Mon Apr 02 2012 Remi Collet <remi at fedoraproject.org> - 1.0.7-1
+- Version 1.0.7 (stable) - API 1.0.0 (stable)
+
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 77e7cb3..b46fc83 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-16f9533b49c581e55b5be7512e5733c1 Net_DNS-1.0.5.tgz
+de0b1d5b6ca1edeaffa0586ce7ceed0d Net_DNS-1.0.7.tgz
More information about the scm-commits
mailing list