forked from pool/perl-Cache-Cache
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
e97c3e38c2 | |||
56096b08a0 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 18:03:17 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 08:13:24 UTC 2015 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Cache-Cache
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,31 +12,52 @@
|
||||
# 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-Cache-Cache
|
||||
Version: 1.08
|
||||
Release: 0
|
||||
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||
%define cpan_name Cache-Cache
|
||||
Summary: The Cache Interface
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Cache-Cache/
|
||||
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
Name: perl-Cache-Cache
|
||||
Version: 1.80.0
|
||||
Release: 0
|
||||
# 1.08 -> normalize -> 1.80.0
|
||||
%define cpan_version 1.08
|
||||
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: The Cache interface
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Digest::SHA1) >= 2.02
|
||||
BuildRequires: perl(Digest::SHA1) >= 2.20
|
||||
BuildRequires: perl(Error) >= 0.15
|
||||
BuildRequires: perl(IPC::ShareLite) >= 0.09
|
||||
Requires: perl(Digest::SHA1) >= 2.02
|
||||
BuildRequires: perl(IPC::ShareLite) >= 0.90
|
||||
Requires: perl(Digest::SHA1) >= 2.20
|
||||
Requires: perl(Error) >= 0.15
|
||||
Requires: perl(IPC::ShareLite) >= 0.09
|
||||
Requires: perl(IPC::ShareLite) >= 0.90
|
||||
Provides: perl(Cache::BaseCache)
|
||||
Provides: perl(Cache::BaseCacheTester)
|
||||
Provides: perl(Cache::Cache) = %{version}
|
||||
Provides: perl(Cache::CacheMetaData)
|
||||
Provides: perl(Cache::CacheSizer)
|
||||
Provides: perl(Cache::CacheTester)
|
||||
Provides: perl(Cache::CacheUtils)
|
||||
Provides: perl(Cache::FileBackend)
|
||||
Provides: perl(Cache::FileCache)
|
||||
Provides: perl(Cache::MemoryBackend)
|
||||
Provides: perl(Cache::MemoryCache)
|
||||
Provides: perl(Cache::NullCache)
|
||||
Provides: perl(Cache::Object)
|
||||
Provides: perl(Cache::SharedMemoryBackend)
|
||||
Provides: perl(Cache::SharedMemoryCache)
|
||||
Provides: perl(Cache::SizeAwareCache)
|
||||
Provides: perl(Cache::SizeAwareCacheTester)
|
||||
Provides: perl(Cache::SizeAwareFileCache)
|
||||
Provides: perl(Cache::SizeAwareMemoryCache)
|
||||
Provides: perl(Cache::SizeAwareSharedMemoryCache)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -53,14 +74,14 @@ set, remove, size, purge, and clear instance methods and their
|
||||
corresponding static methods for persisting data across method calls.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -68,7 +89,7 @@ corresponding static methods for persisting data across method calls.
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc CHANGES COPYING CREDITS DISCLAIMER README STYLE
|
||||
%doc CHANGES CREDITS DISCLAIMER README STYLE
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user