From 67b12a848a372421f89a6c632f4476f82e53ad11961f5e06cf2c8b79ab37a68d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Mon, 26 Aug 2019 13:05:39 +0000 Subject: [PATCH] Accepting request 726177 from devel:languages:perl:autoupdate OBS-URL: https://build.opensuse.org/request/show/726177 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Cache-Transparent?expand=0&rev=9 --- HTTP-Cache-Transparent-1.1.tar.gz | 3 --- HTTP-Cache-Transparent-1.4.tar.gz | 3 +++ cpanspec.yml | 30 +++++++++++++++++++++++++++ perl-HTTP-Cache-Transparent.changes | 32 +++++++++++++++++++++++++++++ perl-HTTP-Cache-Transparent.spec | 25 ++++++++++++---------- 5 files changed, 79 insertions(+), 14 deletions(-) delete mode 100644 HTTP-Cache-Transparent-1.1.tar.gz create mode 100644 HTTP-Cache-Transparent-1.4.tar.gz create mode 100644 cpanspec.yml diff --git a/HTTP-Cache-Transparent-1.1.tar.gz b/HTTP-Cache-Transparent-1.1.tar.gz deleted file mode 100644 index 6e3a424..0000000 --- a/HTTP-Cache-Transparent-1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0abf7b7d972abcd5d77aa4d138ad58406948e7f276f4071e13097b841f7c7eda -size 9005 diff --git a/HTTP-Cache-Transparent-1.4.tar.gz b/HTTP-Cache-Transparent-1.4.tar.gz new file mode 100644 index 0000000..2a6e755 --- /dev/null +++ b/HTTP-Cache-Transparent-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6622e1b5e5af952b1711aea247bdcb1b91c2aac0f11f32f819a2d07e11dd2845 +size 10289 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..add858f --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,30 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: + +# https://rt.cpan.org/Ticket/Display.html?id=123611 +preamble: |- + BuildRequires: perl(Test::RequiresInternet) +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-HTTP-Cache-Transparent.changes b/perl-HTTP-Cache-Transparent.changes index 862588b..b9df73e 100644 --- a/perl-HTTP-Cache-Transparent.changes +++ b/perl-HTTP-Cache-Transparent.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Thu Aug 22 22:20:00 CEST 2019 - Tina Mueller + +- Add BuildRequires: perl(Test::RequiresInternet) + https://rt.cpan.org/Ticket/Display.html?id=123611 + +------------------------------------------------------------------- +Wed Apr 3 07:01:35 UTC 2019 - Stephan Kulow + +- updated to 1.4 + see /usr/share/doc/packages/perl-HTTP-Cache-Transparent/Changes + + 2017-04-07 Mattias Holmlund + + Version 1.4 + + Fix tests when run without internet connectivity. Patch by Mike Parker. + Fixes https://rt.cpan.org/Ticket/Display.html?id=120584 + + 2017-03-11 Mattias Holmlund + + Version 1.3 + + Added missing Changes entry for version 1.2. No other changes. + + 2017-03-07 Mattias Holmlund + + Version 1.2 + + Add X-No-Server-Contact header when the content returned has been + delivered without any contact with the external server + ------------------------------------------------------------------- Tue Apr 14 20:48:43 UTC 2015 - coolo@suse.com diff --git a/perl-HTTP-Cache-Transparent.spec b/perl-HTTP-Cache-Transparent.spec index 792804d..b2b3b9b 100644 --- a/perl-HTTP-Cache-Transparent.spec +++ b/perl-HTTP-Cache-Transparent.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTTP-Cache-Transparent # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,27 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-HTTP-Cache-Transparent -Version: 1.1 +Version: 1.4 Release: 0 %define cpan_name HTTP-Cache-Transparent Summary: Cache the result of http get-requests persistently -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/HTTP-Cache-Transparent/ -Source: http://www.cpan.org/authors/id/M/MA/MATTIASH/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/MA/MATTIASH/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(LWP) +BuildRequires: perl(Test::RequiresInternet) + Requires: perl(LWP) %{perl_requires} @@ -46,14 +49,14 @@ seamlessly cache the result of all requests that can be cached. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -62,6 +65,6 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples README +%doc Changes examples README.md %changelog