]> git.pld-linux.org Git - packages/wget.git/commitdiff
- ressurect tests.patch
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 30 Jan 2018 08:40:37 +0000 (09:40 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 30 Jan 2018 08:40:37 +0000 (09:40 +0100)
wget-tests.patch [new file with mode: 0644]
wget.spec

diff --git a/wget-tests.patch b/wget-tests.patch
new file mode 100644 (file)
index 0000000..174d4ea
--- /dev/null
@@ -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': ''}
index a96b024e14c02aea89dfe86bbf3942db72920357..0b9506a6b8ab9c57c96739e853ed61c70630850d 100644 (file)
--- 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
 
This page took 0.126245 seconds and 4 git commands to generate.