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
 | 
					Mon Nov 29 18:30:12 UTC 2010 - coolo@novell.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,60 +1,67 @@
 | 
				
			|||||||
%define modname	HTTP-Cache-Transparent
 | 
					#
 | 
				
			||||||
Name:           perl-%{modname}
 | 
					# spec file for package perl-HTTP-Cache-Transparent
 | 
				
			||||||
Version:        0.7
 | 
					#
 | 
				
			||||||
Release:        1
 | 
					# 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
 | 
					Summary:        Cache the result of http get-requests persistently
 | 
				
			||||||
Requires:       perl = %{perl_version} perl-libwww-perl
 | 
					License:        GPL-1.0+ or Artistic-1.0
 | 
				
			||||||
BuildRequires:  perl perl-macros perl-libwww-perl
 | 
					 | 
				
			||||||
License:        GPL/Artistic
 | 
					 | 
				
			||||||
Group:          Development/Libraries/Perl
 | 
					Group:          Development/Libraries/Perl
 | 
				
			||||||
Source:         %{modname}-%{version}.tar.bz2
 | 
					Url:            http://search.cpan.org/dist/HTTP-Cache-Transparent/
 | 
				
			||||||
BuildRoot:      %{_tmppath}/%{name}-root
 | 
					Source:         http://www.cpan.org/authors/id/M/MA/MATTIASH/%{cpan_name}-%{version}.tar.gz
 | 
				
			||||||
Requires:       perl-libwww-perl
 | 
					BuildArch:      noarch
 | 
				
			||||||
 | 
					BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
				
			||||||
 | 
					BuildRequires:  perl
 | 
				
			||||||
 | 
					BuildRequires:  perl-macros
 | 
				
			||||||
 | 
					BuildRequires:  perl(LWP)
 | 
				
			||||||
 | 
					Requires:       perl(LWP)
 | 
				
			||||||
 | 
					%{perl_requires}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%description
 | 
					%description
 | 
				
			||||||
An implementation of http get that keeps a local cache of fetched pages to
 | 
					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
 | 
					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.
 | 
					cache is stored on disk and is thus persistent between invocations.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Authors:
 | 
					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.
 | 
				
			||||||
    Mattias Holmlund, <$firstname -at- $lastname -dot- se>
 | 
					
 | 
				
			||||||
 | 
					The cache is implemented by modifying the LWP::UserAgent class to
 | 
				
			||||||
 | 
					seamlessly cache the result of all requests that can be cached.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%prep
 | 
					%prep
 | 
				
			||||||
%setup -q -n %{modname}-%{version}
 | 
					%setup -q -n %{cpan_name}-%{version}
 | 
				
			||||||
 | 
					find . -type f -print0 | xargs -0 chmod 644
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%build
 | 
					%build
 | 
				
			||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
 | 
					%{__perl} Makefile.PL INSTALLDIRS=vendor
 | 
				
			||||||
make
 | 
					%{__make} %{?_smp_mflags}
 | 
				
			||||||
make test
 | 
					
 | 
				
			||||||
 | 
					%check
 | 
				
			||||||
 | 
					%{__make} test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%install
 | 
					%install
 | 
				
			||||||
rm -rf %{buildroot}
 | 
					%perl_make_install
 | 
				
			||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
 | 
					 | 
				
			||||||
%perl_process_packlist
 | 
					%perl_process_packlist
 | 
				
			||||||
 | 
					%perl_gen_filelist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%clean
 | 
					%files -f %{name}.files
 | 
				
			||||||
rm -rf %{buildroot}
 | 
					%defattr(-,root,root,755)
 | 
				
			||||||
 | 
					%doc Changes examples README
 | 
				
			||||||
%files
 | 
					 | 
				
			||||||
%defattr(-, root, root)
 | 
					 | 
				
			||||||
%doc README Changes
 | 
					 | 
				
			||||||
%doc %{_mandir}/man?/*
 | 
					 | 
				
			||||||
%{perl_vendorlib}/HTTP
 | 
					 | 
				
			||||||
%{perl_vendorarch}/auto/HTTP
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
%changelog
 | 
					%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