Compare commits
10 Commits
0edd06be67
...
7fe0294e8f
Author | SHA256 | Date | |
---|---|---|---|
7fe0294e8f | |||
|
87300ac577 | ||
|
5bc5d3b8a6 | ||
|
88a833d072 | ||
|
e2261e8d7f | ||
|
da2af96a6c | ||
|
766df8f91a | ||
|
dc39f797f3 | ||
|
4e39ab4ce6 | ||
|
9c3f03642f |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cffbd4b80f2a43c7b9f6aebb4e92cfb0466cc4faf0b99e4ea7b6d344df55d3ff
|
||||
size 34501
|
3
Cache-2.11.tar.gz
Normal file
3
Cache-2.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e1d2d89677981166abc5bb6e5ecc6471f001f13eb56d5be9544d8047dc08a592
|
||||
size 54809
|
@@ -1,3 +1,95 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 19:23:31 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.11
|
||||
see /usr/share/doc/packages/perl-Cache/Changes
|
||||
|
||||
2015-02-24
|
||||
- Make sure t/file_lru.t skips all tests if Time::HiRes isn't installed.
|
||||
- See https://rt.cpan.org/Ticket/Display.html?id=102316
|
||||
- Thanks to Otto J. Makela for the report.
|
||||
- Bugfix/maintenance release (2.11)
|
||||
|
||||
2014-05-13
|
||||
- Fix a small grammar in the docs (double "as") reported by pink_mist.
|
||||
- Thanks, pink_mist!
|
||||
- Another fix for a small typo by pink_mist.
|
||||
- Thanks again.
|
||||
- Add Cache category of warnings to make sure warnings do not emit
|
||||
an error.
|
||||
- See https://rt.cpan.org/Public/Bug/Display.html?id=95608
|
||||
- Thanks to Gabor Szabo for the report.
|
||||
- Bugfix/maintenance release (2.10)
|
||||
|
||||
2014-02-02
|
||||
- Use Digest::SHA instead of Digest::SHA1
|
||||
- Digest::SHA is core and preferred by Debian.
|
||||
- https://rt.cpan.org/Ticket/Display.html?id=92658
|
||||
- Bugfix/maintenance release (2.09)
|
||||
|
||||
2014-01-26
|
||||
- Convert from use "warnings::register;" to "use warnings;".
|
||||
- Bugfix/maintenance release (2.08)
|
||||
|
||||
2014-01-26
|
||||
- Add perl to the prereq in META.yml/META.json
|
||||
- Kwalitee / CPANTS
|
||||
- Bugfix/maintenance release (2.07)
|
||||
|
||||
2013-09-13
|
||||
- Increase the delay of the cache invalidation in the tests by default to
|
||||
avoid test failures due to high load.
|
||||
- https://rt.cpan.org/Public/Bug/Display.html?id=27280
|
||||
- One can set the PERL_CACHE_PM_TESTING environment variable to a true
|
||||
value to set it back at a quicker-to-run 1 second delay.
|
||||
- Thanks to ANDK for reporting it.
|
||||
- Fix Bug in Cache::Memory regarding Namespaces
|
||||
- https://rt.cpan.org/Ticket/Display.html?id=32339 .
|
||||
- ->set after ->set_namespace failed.
|
||||
- Thanks to justin@techadvise.com for the report and for a proposed
|
||||
fix.
|
||||
- Get rid of trailing space.
|
||||
- Add t/style-trailing-space.t
|
||||
- Bugfix/maintenance release (2.06)
|
||||
|
||||
2013-09-05
|
||||
- Add t/pod.t and got the embedded PODs to validate.
|
||||
- Convert the Build system to Module-Build.
|
||||
- Fix https://rt.cpan.org/Ticket/Display.html?id=78817
|
||||
- Fix a warning for lc called with undef value
|
||||
when "-w" is specified - during some tests.
|
||||
- Tests fail or get stuck on Windows - use Devel::AssertOS to make sure
|
||||
we don't build there.
|
||||
- https://rt.cpan.org/Ticket/Display.html?id=81386
|
||||
- if a kind soul will fix the tests and/or the code on MSWin, we will
|
||||
remove it.
|
||||
- Bugfix/maintenance release (2.05)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 26 15:19:02 UTC 2011 - chris@computersalat.de
|
||||
|
||||
- fix License
|
||||
- fix deps
|
||||
+ perl(DB_File) >= 1.72
|
||||
* perl(File::NFSLock) >= 1.2 -> 1.20
|
||||
+ perl(Storable) >= 1.00
|
||||
- some spec cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 06:55:31 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:29:24 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove /var/adm/perl-modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 13:33:22 UTC 2010 - coolo@novell.com
|
||||
|
||||
- recreated by cpanspec 1.78.02
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 28 11:37:42 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
134
perl-Cache.spec
134
perl-Cache.spec
@@ -1,71 +1,89 @@
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package perl-Cache
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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.
|
||||
|
||||
Name: perl-Cache
|
||||
Version: 2.04
|
||||
Release: 0
|
||||
Summary: Perl Cache Interface and Implementations Module
|
||||
Source: http://search.cpan.org/CPAN/authors/id/C/CL/CLEISHMAN/Cache-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/~cleishman/Cache-%{version}/lib/Cache.pm
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
Requires: perl perl-IO-String perl-TimeDate perl-Digest-SHA1 perl-Heap
|
||||
BuildRequires: perl-IO-String perl-TimeDate perl-Digest-SHA1 perl-Heap
|
||||
BuildRequires: make perl
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Cache
|
||||
Name: perl-Cache
|
||||
Version: 2.110.0
|
||||
Release: 0
|
||||
# 2.11 -> normalize -> 2.110.0
|
||||
%define cpan_version 2.11
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Provide a generic Cache mechanism
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Date::Parse) >= 2.24
|
||||
BuildRequires: perl(Digest::SHA)
|
||||
BuildRequires: perl(File::NFSLock) >= 1.200.0
|
||||
BuildRequires: perl(Heap::Fibonacci) >= 0.01
|
||||
BuildRequires: perl(IO::String) >= 1.02
|
||||
BuildRequires: perl(Module::Build)
|
||||
Requires: perl(Date::Parse) >= 2.24
|
||||
Requires: perl(Digest::SHA)
|
||||
Requires: perl(File::NFSLock) >= 1.200.0
|
||||
Requires: perl(Heap::Fibonacci) >= 0.01
|
||||
Requires: perl(IO::String) >= 1.02
|
||||
Provides: perl(Cache) = %{version}
|
||||
Provides: perl(Cache::Entry) = %{version}
|
||||
Provides: perl(Cache::File) = %{version}
|
||||
Provides: perl(Cache::File::Entry) = %{version}
|
||||
Provides: perl(Cache::File::Handle)
|
||||
Provides: perl(Cache::File::Heap) = %{version}
|
||||
Provides: perl(Cache::IOString)
|
||||
Provides: perl(Cache::Memory) = %{version}
|
||||
Provides: perl(Cache::Memory::Entry) = %{version}
|
||||
Provides: perl(Cache::Memory::HeapElem)
|
||||
Provides: perl(Cache::Null) = %{version}
|
||||
Provides: perl(Cache::Null::Entry) = %{version}
|
||||
Provides: perl(Cache::RemovalStrategy) = %{version}
|
||||
Provides: perl(Cache::RemovalStrategy::FIFO)
|
||||
Provides: perl(Cache::RemovalStrategy::LRU)
|
||||
Provides: perl(Cache::Tester) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
The Cache modules are designed to assist a developer in persisting data for a
|
||||
specified period of time. Often these modules are used in web applications to
|
||||
store data locally to save repeated and redundant expensive calls to remote
|
||||
machines or databases.
|
||||
The Cache modules are designed to assist a developer in persisting data for
|
||||
a specified period of time. Often these modules are used in web
|
||||
applications to store data locally to save repeated and redundant expensive
|
||||
calls to remote machines or databases.
|
||||
|
||||
The Cache interface is implemented by derived classes that store cached data
|
||||
in different manners (such as as files on a filesystem, or in memory).
|
||||
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Chris Leishman <chris@leishman.org>
|
||||
The Cache interface is implemented by derived classes that store cached
|
||||
data in different manners (such as files on a filesystem, or in memory).
|
||||
|
||||
%prep
|
||||
%setup -q -n "Cache-%{version}"
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%__rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README TODO LICENSE
|
||||
%{perl_vendorlib}/Cache.pm
|
||||
%dir %{perl_vendorlib}/Cache
|
||||
%{perl_vendorlib}/Cache/*.pm
|
||||
%dir %{perl_vendorlib}/Cache/File
|
||||
%{perl_vendorlib}/Cache/File/*.pm
|
||||
%dir %{perl_vendorlib}/Cache/Memory
|
||||
%{perl_vendorlib}/Cache/Memory/*.pm
|
||||
%dir %{perl_vendorlib}/Cache/Null
|
||||
%{perl_vendorlib}/Cache/Null/*.pm
|
||||
%dir %{perl_vendorlib}/Cache/RemovalStrategy
|
||||
%{perl_vendorlib}/Cache/RemovalStrategy/*.pm
|
||||
%dir %{perl_vendorarch}/auto/Cache
|
||||
%doc %{perl_man3dir}/Cache*.%{perl_man3ext}*
|
||||
/var/adm/perl-modules/%{name}
|
||||
%files -f %{name}.files
|
||||
%doc Changes design.dia README TODO
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Tue Jul 22 2008 Pascal Bleser <guru@unixtech.be> 2.04
|
||||
- new package
|
||||
|
||||
# Local Variables:
|
||||
# mode: rpm-spec
|
||||
# tab-width: 3
|
||||
# End:
|
||||
|
Reference in New Issue
Block a user