summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-13 07:17:17 +0100
committerRemi Collet <remi@remirepo.net>2018-02-13 07:17:17 +0100
commit6138ae665b5185d779018c09b8ea3b97f31ad44b (patch)
tree50ea2e91f4a581cddb24dcdbe9391904a01c4c43
parentcdbe16a40f68520b483b148747eb2dbfae925278 (diff)
-rw-r--r--.gitignore9
-rw-r--r--php-pear-Net-DNS2.spec16
2 files changed, 14 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6f69818
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+clog
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.bz2
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
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