Accepting request 296511 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/296511 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Cache-Transparent?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
979721c482
commit
3aaef3a5ff
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8eb2af61ed8bc237358841a69f57f2dd16508bf550ab5e2a51638f5153e30427
|
||||
size 7628
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:31b6b54d9488b35eb8ca54b6f5bcefd6eb1e208ca8a4038c1cee61042747f1d9
|
||||
size 8526
|
||||
3
HTTP-Cache-Transparent-1.1.tar.gz
Normal file
3
HTTP-Cache-Transparent-1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0abf7b7d972abcd5d77aa4d138ad58406948e7f276f4071e13097b841f7c7eda
|
||||
size 9005
|
||||
@@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 20:48:43 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.1
|
||||
see /usr/share/doc/packages/perl-HTTP-Cache-Transparent/Changes
|
||||
|
||||
2012-10-25 Mattias Holmlund
|
||||
|
||||
Version 1.1
|
||||
|
||||
Unlink temporary cachefiles if we fail to give them a proper name
|
||||
Resolves https://rt.cpan.org/Ticket/Display.html?id=60065
|
||||
|
||||
Handle multiple simultaneous cache cleanups
|
||||
Hopefully resolves https://rt.cpan.org/Public/Bug/Display.html?id=77015
|
||||
|
||||
Handle caching of zero-size documents
|
||||
Resolves https://rt.cpan.org/Public/Bug/Display.html?id=76785
|
||||
|
||||
Populate $response->message with the default message for the code
|
||||
Patch from Graham Barr
|
||||
|
||||
Ensure response has access to request when fetching from cache
|
||||
Patch from Graham Barr.
|
||||
|
||||
Handle undefined content from servers.
|
||||
|
||||
2007-12-12 Mattias Holmlund
|
||||
|
||||
Version 1.0
|
||||
|
||||
Add ApproveContent option.
|
||||
Add pod-tests.
|
||||
Mark internal methods with leading underscore.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 20:48:43 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.0
|
||||
see /usr/share/doc/packages/perl-HTTP-Cache-Transparent/Changes
|
||||
|
||||
2007-12-12 Mattias Holmlund
|
||||
|
||||
Version 1.0
|
||||
|
||||
Add ApproveContent option.
|
||||
Add pod-tests.
|
||||
Mark internal methods with leading underscore.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:30:12 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
||||
@@ -1,60 +1,67 @@
|
||||
%define modname HTTP-Cache-Transparent
|
||||
Name: perl-%{modname}
|
||||
Version: 0.7
|
||||
Release: 1
|
||||
#
|
||||
# spec file for package perl-HTTP-Cache-Transparent
|
||||
#
|
||||
# Copyright (c) 2015 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-HTTP-Cache-Transparent
|
||||
Version: 1.1
|
||||
Release: 0
|
||||
%define cpan_name HTTP-Cache-Transparent
|
||||
Summary: Cache the result of http get-requests persistently
|
||||
Requires: perl = %{perl_version} perl-libwww-perl
|
||||
BuildRequires: perl perl-macros perl-libwww-perl
|
||||
License: GPL/Artistic
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
Requires: perl-libwww-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
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(LWP)
|
||||
Requires: perl(LWP)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
An implementation of http get that keeps a local cache of fetched pages to
|
||||
avoid fetching the same data from the server if it hasn't been updated. The
|
||||
cache is stored on disk and is thus persistent between invocations.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Mattias Holmlund, <$firstname -at- $lastname -dot- se>
|
||||
Uses the http-headers If-Modified-Since and ETag to let the server decide
|
||||
if the version in the cache is up-to-date or not.
|
||||
|
||||
The cache is implemented by modifying the LWP::UserAgent class to
|
||||
seamlessly cache the result of all requests that can be cached.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README Changes
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/HTTP
|
||||
%{perl_vendorarch}/auto/HTTP
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README
|
||||
|
||||
%changelog
|
||||
|
||||
* Tue Jun 20 2006 - James Oakley <jfunk@funktronics.ca> - 0.7-1
|
||||
- Update
|
||||
|
||||
* Fri Nov 11 2005 - James Oakley <jfunk@funktronics.ca> - 0.6-ft.1
|
||||
- Update
|
||||
- Build for SL10
|
||||
|
||||
* Thu May 12 2005 - James Oakley <jfunk@funktronics.ca> - 0.5-ft.1
|
||||
- Update
|
||||
- Build for SL93
|
||||
|
||||
* Fri Nov 19 2004 - James Oakley <jfunk@funktronics.ca> - 0.4-ft.1
|
||||
- Initial release
|
||||
|
||||
Reference in New Issue
Block a user