[php-pear-Net-DNS2/el6] update to 1.3.2
Remi Collet
remi at fedoraproject.org
Wed Jul 23 14:18:44 UTC 2014
commit bdff32594552b562f73b762cd907620f6dc53f48
Author: Remi Collet <remi at fedoraproject.org>
Date: Wed Jul 23 16:18:36 2014 +0200
update to 1.3.2
.gitignore | 4 ++++
php-pear-Net-DNS2.spec | 45 +++++++++++++++++++++++++++++----------------
sources | 2 +-
3 files changed, 34 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ecb4069..5e7abb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,7 @@ package-*.xml
*spec~
/Net_DNS2-1.2.3.tgz
/Net_DNS2-1.2.4.tgz
+/Net_DNS2-1.2.5.tgz
+/Net_DNS2-1.3.0.tgz
+/Net_DNS2-1.3.1.tgz
+/Net_DNS2-1.3.2.tgz
diff --git a/php-pear-Net-DNS2.spec b/php-pear-Net-DNS2.spec
index 8ac075b..09a6cda 100644
--- a/php-pear-Net-DNS2.spec
+++ b/php-pear-Net-DNS2.spec
@@ -1,9 +1,19 @@
+# spec file for php-pear-Net-DNS2
+#
+# Copyright (c) 2012-2013 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/4.0/
+#
+# Please, preserve the changelog entries
+#
+
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name Net_DNS2
Name: php-pear-Net-DNS2
-Version: 1.2.4
-Release: 2%{?dist}
+Version: 1.3.2
+Release: 1%{?dist}
Summary: PHP Resolver library used to communicate with a DNS server
Group: Development/Libraries
@@ -12,7 +22,6 @@ 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
@@ -21,10 +30,19 @@ 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
+
+# From phpcompatinfo report for version 1.3.2
+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
@@ -49,7 +67,6 @@ The main features for this package include:
%prep
%setup -q -c
cd %{pear_name}-%{version}
-# Package.xml is V2
mv ../package.xml %{name}.xml
@@ -59,23 +76,17 @@ cd %{pear_name}-%{version}
%install
-rm -rf %{buildroot}
-
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
-rm -rf %{buildroot}%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
# Install XML package description
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-%clean
-rm -rf %{buildroot}
-
-
%check
if ping -c 1 google.com &>/dev/null
then
@@ -102,7 +113,6 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%dir %{pear_phpdir}/Net
@@ -112,6 +122,9 @@ fi
%changelog
+* Sun Dec 01 2013 Remi Collet <remi at fedoraproject.org> - 1.3.2-1
+- Update to 1.3.2 (stable)
+
* Sun Sep 23 2012 Remi Collet <remi at fedoraproject.org> - 1.2.4-2
- php-mhash is optionnal and not available on RHEL-6
diff --git a/sources b/sources
index e486e43..73b0dfa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6e023ebe7a5cb39349ff340d493ac654 Net_DNS2-1.2.4.tgz
+b44102f69fd2bfa841baf9075130c620 Net_DNS2-1.3.2.tgz
More information about the scm-commits
mailing list