]> git.pld-linux.org Git - packages/wget.git/commitdiff
fix build with gnupg >= 2.4.1; rel 2 master auto/th/wget-1.21.4-2
authorJan Palus <atler@pld-linux.org>
Thu, 11 May 2023 23:48:08 +0000 (01:48 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 11 May 2023 23:48:08 +0000 (01:48 +0200)
see https://savannah.gnu.org/bugs/index.php?64184

gnupg-2.4.1-tests.patch [new file with mode: 0644]
wget.spec

diff --git a/gnupg-2.4.1-tests.patch b/gnupg-2.4.1-tests.patch
new file mode 100644 (file)
index 0000000..afbc9e2
--- /dev/null
@@ -0,0 +1,30 @@
+From 478b2e93a2b4102d5c76332ea5ff6a1a920ae0db Mon Sep 17 00:00:00 2001
+From: Jan Palus <jpalus@fastmail.com>
+Date: Fri, 12 May 2023 01:44:13 +0200
+Subject: [PATCH] * testenv/conf/expected_files.py: Ignore common.conf
+
+Signed-off-by: Jan Palus <jpalus@fastmail.com>
+---
+ testenv/conf/expected_files.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/testenv/conf/expected_files.py b/testenv/conf/expected_files.py
+index 65adb707..72146726 100644
+--- a/testenv/conf/expected_files.py
++++ b/testenv/conf/expected_files.py
+@@ -24,10 +24,10 @@ class ExpectedFiles:
+         snapshot = {}
+         for parent, dirs, files in os.walk('.'):
+             for name in files:
+-                # pubring.gpg, pubring.kbx, dirmngr.conf, gpg.conf will be created by libgpgme
++                # pubring.gpg, pubring.kbx, common.conf, 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.gpg', 'pubring.kbx', 'dirmngr.conf', 'gpg.conf' ]:
++                if name in [ 'pubring.gpg', 'pubring.kbx', 'common.conf', 'dirmngr.conf', 'gpg.conf' ]:
+                     continue
+                 f = {'content': ''}
+-- 
+2.40.1
+
index efb31a646c0c8ec6f72cc79701569e6174df5229..92dfa38d64e281cd60007158fc670743795bf70a 100644 (file)
--- a/wget.spec
+++ b/wget.spec
@@ -19,7 +19,7 @@ Summary(uk.UTF-8):    Утиліта для отримання файлів по п
 Summary(zh_CN.UTF-8):  [通讯]功能强大的下载程序,支持断点续传
 Name:          wget
 Version:       1.21.4
-Release:       1
+Release:       2
 License:       GPL v3+ with OpenSSL exception
 Group:         Networking/Utilities
 Source0:       http://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.lz
@@ -31,6 +31,7 @@ Patch1:               %{name}-wgetrc_path.patch
 Patch2:                %{name}-home_etc.patch
 Patch3:                %{name}-ssl-certs.patch
 Patch4:                user.xdg.origin.url.patch
+Patch5:                gnupg-2.4.1-tests.patch
 URL:           http://www.gnu.org/software/wget/
 BuildRequires: autoconf >= 2.64
 BuildRequires: autoconf-archive
@@ -144,6 +145,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.163896 seconds and 4 git commands to generate.