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
This commit is contained in:
2019-08-26 13:05:39 +00:00
committed by Git OBS Bridge
parent 3aaef3a5ff
commit 67b12a848a
5 changed files with 79 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0abf7b7d972abcd5d77aa4d138ad58406948e7f276f4071e13097b841f7c7eda
size 9005

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6622e1b5e5af952b1711aea247bdcb1b91c2aac0f11f32f819a2d07e11dd2845
size 10289

30
cpanspec.yml Normal file
View File

@@ -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

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Thu Aug 22 22:20:00 CEST 2019 - Tina Mueller <tina.mueller@suse.com>
- Add BuildRequires: perl(Test::RequiresInternet)
https://rt.cpan.org/Ticket/Display.html?id=123611
-------------------------------------------------------------------
Wed Apr 3 07:01:35 UTC 2019 - Stephan Kulow <coolo@suse.com>
- 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

View File

@@ -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