diff --git a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild index 7833243fba..77620c6d3a 100644 --- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild +++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=perl-lwp-useragent-cached -VERSION=${VERSION:-0.07} +VERSION=${VERSION:-0.08} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +54,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # it wants to interactively ask whether to automatically install # Test::Mock::LWP::Dispatch for its tests. Don't let it. -patch -p1 < $CWD/no_test_requires.diff +case "$VERSION" in + 0.06|0.07) patch -p1 < $CWD/no_test_requires.diff ;; +esac perl Makefile.PL \ PREFIX=/usr \ diff --git a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info index b9e6ed8339..1f283a96ca 100644 --- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info +++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info @@ -1,8 +1,8 @@ PRGNAM="perl-lwp-useragent-cached" -VERSION="0.07" +VERSION="0.08" HOMEPAGE="https://metacpan.org/release/LWP-UserAgent-Cached" -DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-0.07.tar.gz" -MD5SUM="9d43c55a17e0643f682035d2e7619973" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-0.08.tar.gz" +MD5SUM="5dbeb4d00c321ef649628004ba1c027e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libwww-perl"