summaryrefslogtreecommitdiffstats
path: root/php-pear-Net-DNS2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pear-Net-DNS2.spec')
-rw-r--r--php-pear-Net-DNS2.spec16
1 files changed, 5 insertions, 11 deletions
diff --git a/php-pear-Net-DNS2.spec b/php-pear-Net-DNS2.spec
index acb33f7..74a13f3 100644
--- a/php-pear-Net-DNS2.spec
+++ b/php-pear-Net-DNS2.spec
@@ -1,6 +1,6 @@
# fedora/remirepo spec file for php-pear-Net-DNS2
#
-# Copyright (c) 2012-2017 Remi Collet
+# Copyright (c) 2012-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -11,11 +11,10 @@
%global pear_name Net_DNS2
Name: php-pear-Net-DNS2
-Version: 1.4.3
+Version: 1.4.4
Release: 1%{?dist}
Summary: PHP Resolver library used to communicate with a DNS server
-Group: Development/Libraries
License: BSD
URL: http://pear.php.net/package/Net_DNS2
Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
@@ -23,7 +22,6 @@ Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
# Fix include path during the test suite
Patch0: %{pear_name}-incl.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear(PEAR)
# for tests
@@ -80,8 +78,6 @@ cd %{pear_name}-%{version}
%install
-rm -rf %{buildroot}
-
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
@@ -93,10 +89,6 @@ mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-%clean
-rm -rf %{buildroot}
-
-
%check
cd %{pear_name}-%{version}/tests
if ! ping -c 1 google.com &>/dev/null
@@ -126,7 +118,6 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%dir %{pear_phpdir}/Net
@@ -136,6 +127,9 @@ fi
%changelog
+* Tue Feb 13 2018 Remi Collet <remi@remirepo.net> - 1.4.4-1
+- Update to 1.4.4
+
* Tue Mar 7 2017 Remi Collet <remi@remirepo.net> - 1.4.3-1
- Update to 1.4.3
- only run test suite when connected to internet