From 84f5f91ffb2080acd4b38629ddbbec7631e60978a71410709eeb27313fd1b1f3 Mon Sep 17 00:00:00 2001 From: Philipp Thomas Date: Thu, 23 Jan 2014 21:22:02 +0000 Subject: [PATCH] Accepting request 214787 from home:kpetsch:branches:network:utilities Enabled the testsuite OBS-URL: https://build.opensuse.org/request/show/214787 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=43 --- wget-libproxy.patch | 9 +++++++++ wget.changes | 6 ++++++ wget.spec | 8 +++++++- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/wget-libproxy.patch b/wget-libproxy.patch index e1b4217..e2b0df5 100644 --- a/wget-libproxy.patch +++ b/wget-libproxy.patch @@ -38,6 +38,13 @@ Index: src/Makefile.am EXTRA_DIST = css.l css.c css_.c build_info.c.in +Index: tests/Makefile.am +=================================================================== +--- tests/Makefile.am.orig ++++ tests/Makefile.am +@@ -37,1 +37,1 @@ +-LIBS = @LIBICONV@ @LIBINTL@ @LIBS@ $(LIB_CLOCK_GETTIME) ++LIBS = @LIBICONV@ @LIBINTL@ @libproxy_LIBS@ @LIBS@ $(LIB_CLOCK_GETTIME) Index: src/retr.c =================================================================== --- src/retr.c.orig @@ -94,3 +101,5 @@ Index: src/retr.c /* Handle shorthands. `rewritten_storage' is a kludge to allow getproxy() to return static storage. */ + + diff --git a/wget.changes b/wget.changes index df70e03..57c5aca 100644 --- a/wget.changes +++ b/wget.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 21 15:32:00 UTC 2014 - kpetsch@suse.com + +- Enabled the testsuite +- Modified libproxy.patch to include Makefile in tests/ + ------------------------------------------------------------------- Sun Jan 19 22:02:25 UTC 2014 - andreas.stieger@gmx.de diff --git a/wget.spec b/wget.spec index 5fc6232..fce8897 100644 --- a/wget.spec +++ b/wget.spec @@ -27,7 +27,6 @@ Source: https://ftp.gnu.org/gnu/wget/%name-%version.tar.xz Source1: https://ftp.gnu.org/gnu/wget/%name-%version.tar.xz.sig Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=wget&download=1#/wget.keyring Patch0: wgetrc.patch -# PATCH-FEATURE-UPSTREAM wget-libproxy.patch dimstar@opensuse.org -- Add libproxy support to wget Patch1: wget-libproxy.patch Patch5: wget-1.14-openssl-no-intern.patch Patch6: wget-1.14-no-ssl-comp.patch @@ -41,6 +40,10 @@ BuildRequires: automake BuildRequires: libidn-devel BuildRequires: makeinfo BuildRequires: openssl-devel +# For the Testsuite +BuildRequires: perl-HTTP-Daemon +BuildRequires: perl-IO-Socket-SSL + BuildRequires: pkg-config BuildRequires: xz PreReq: %install_info_prereq @@ -68,6 +71,9 @@ autoreconf --force %configure --with-ssl=openssl make %{?_smp_mflags} +%check +make -C tests/ check + %install %makeinstall %find_lang %{name}