[packages/wget] - ressurect tests.patch
arekm
arekm at pld-linux.org
Tue Jan 30 09:40:45 CET 2018
commit 0f2b0b4d5b38ce0befc82067d151f69e8b865b2b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jan 30 09:40:37 2018 +0100
- ressurect tests.patch
wget-tests.patch | 14 ++++++++++++++
wget.spec | 2 ++
2 files changed, 16 insertions(+)
---
diff --git a/wget.spec b/wget.spec
index a96b024..0b9506a 100644
--- a/wget.spec
+++ b/wget.spec
@@ -30,6 +30,7 @@ Patch1: %{name}-wgetrc_path.patch
Patch2: %{name}-home_etc.patch
Patch3: %{name}-ssl-certs.patch
Patch4: user.xdg.origin.url.patch
+Patch5: %{name}-tests.patch
URL: http://www.gnu.org/software/wget/
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.9
@@ -137,6 +138,7 @@ Proxy серверів, настроюваність.
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{__rm} doc/wget.info doc/sample.wgetrc.munged_for_texi_inclusion po/stamp-po
diff --git a/wget-tests.patch b/wget-tests.patch
new file mode 100644
index 0000000..174d4ea
--- /dev/null
+++ b/wget-tests.patch
@@ -0,0 +1,14 @@
+--- wget-1.19.4/testenv/conf/expected_files.py.org 2018-01-30 09:36:46.359579482 +0100
++++ wget-1.19.4/testenv/conf/expected_files.py 2018-01-30 09:37:01.350209794 +0100
+@@ -24,9 +24,9 @@ class ExpectedFiles:
+ snapshot = {}
+ for parent, dirs, files in os.walk('.'):
+ for name in files:
+- # pubring.kbx, dirmngr.conf, gpg.conf will be created by libgpgme if $HOME doesn't contain the .gnupg directory.
++ # pubring.gpg, pubring.kbx, dirmngr.conf, gpg.conf will be created by libgpgme if $HOME doesn't contain the .gnupg directory.
+ # setting $HOME to CWD (in base_test.py) breaks two Metalink tests, so we skip this file here.
+- if name in [ 'pubring.kbx', 'dirmngr.conf', 'gpg.conf' ]:
++ if name in [ 'pubring.gpg', 'pubring.kbx', 'dirmngr.conf', 'gpg.conf' ]:
+ continue
+
+ f = {'content': ''}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wget.git/commitdiff/0f2b0b4d5b38ce0befc82067d151f69e8b865b2b
More information about the pld-cvs-commit
mailing list