Compare commits

3 Commits

3 changed files with 60 additions and 19 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-CHI/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-CHI)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 12 18:00:04 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Thu Oct 14 03:06:05 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-CHI
#
# Copyright (c) 2021 SUSE LLC
# 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
@@ -18,29 +18,32 @@
%define cpan_name CHI
Name: perl-CHI
Version: 0.61
Version: 0.610.0
Release: 0
Summary: Unified cache handling interface
# 0.61 -> normalize -> 0.610.0
%define cpan_version 0.61
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Unified cache handling interface
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AS/ASB/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/A/AS/ASB/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Cache::FileCache)
BuildRequires: perl(Carp::Assert) >= 0.20
BuildRequires: perl(Carp::Assert) >= 0.200
BuildRequires: perl(Class::Load)
BuildRequires: perl(Data::UUID)
BuildRequires: perl(Date::Parse)
BuildRequires: perl(Digest::JHash)
BuildRequires: perl(Hash::MoreUtils)
BuildRequires: perl(JSON::MaybeXS) >= 1.003003
BuildRequires: perl(List::MoreUtils) >= 0.13
BuildRequires: perl(Log::Any) >= 0.08
BuildRequires: perl(List::MoreUtils) >= 0.130
BuildRequires: perl(Log::Any) >= 0.80
BuildRequires: perl(Module::Mask)
BuildRequires: perl(Moo) >= 1.003
BuildRequires: perl(MooX::Types::MooseLike) >= 0.23
BuildRequires: perl(MooX::Types::MooseLike) >= 0.230
BuildRequires: perl(MooX::Types::MooseLike::Base)
BuildRequires: perl(MooX::Types::MooseLike::Numeric)
BuildRequires: perl(String::RewritePrefix)
@@ -49,26 +52,46 @@ BuildRequires: perl(Test::Class)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Warn)
BuildRequires: perl(Time::Duration) >= 1.060000
BuildRequires: perl(Time::Duration::Parse) >= 0.03
BuildRequires: perl(Try::Tiny) >= 0.05
Requires: perl(Carp::Assert) >= 0.20
BuildRequires: perl(Time::Duration) >= 1.06
BuildRequires: perl(Time::Duration::Parse) >= 0.30
BuildRequires: perl(Try::Tiny) >= 0.50
Requires: perl(Carp::Assert) >= 0.200
Requires: perl(Class::Load)
Requires: perl(Data::UUID)
Requires: perl(Digest::JHash)
Requires: perl(Hash::MoreUtils)
Requires: perl(JSON::MaybeXS) >= 1.003003
Requires: perl(List::MoreUtils) >= 0.13
Requires: perl(Log::Any) >= 0.08
Requires: perl(List::MoreUtils) >= 0.130
Requires: perl(Log::Any) >= 0.80
Requires: perl(Moo) >= 1.003
Requires: perl(MooX::Types::MooseLike) >= 0.23
Requires: perl(MooX::Types::MooseLike) >= 0.230
Requires: perl(MooX::Types::MooseLike::Base)
Requires: perl(MooX::Types::MooseLike::Numeric)
Requires: perl(String::RewritePrefix)
Requires: perl(Task::Weaken)
Requires: perl(Time::Duration) >= 1.060000
Requires: perl(Time::Duration::Parse) >= 0.03
Requires: perl(Try::Tiny) >= 0.05
Requires: perl(Time::Duration) >= 1.06
Requires: perl(Time::Duration::Parse) >= 0.30
Requires: perl(Try::Tiny) >= 0.50
Provides: perl(CHI) = %{version}
Provides: perl(CHI::CacheObject) = %{version}
Provides: perl(CHI::Constants) = %{version}
Provides: perl(CHI::Driver) = %{version}
Provides: perl(CHI::Driver::Base::CacheContainer) = %{version}
Provides: perl(CHI::Driver::CacheCache) = %{version}
Provides: perl(CHI::Driver::FastMmap) = %{version}
Provides: perl(CHI::Driver::File) = %{version}
Provides: perl(CHI::Driver::Memory) = %{version}
Provides: perl(CHI::Driver::Metacache) = %{version}
Provides: perl(CHI::Driver::Null) = %{version}
Provides: perl(CHI::Driver::RawMemory) = %{version}
Provides: perl(CHI::Driver::Role::HasSubcaches) = %{version}
Provides: perl(CHI::Driver::Role::IsSizeAware) = %{version}
Provides: perl(CHI::Driver::Role::IsSubcache) = %{version}
Provides: perl(CHI::Driver::Role::Universal) = %{version}
Provides: perl(CHI::Stats) = %{version}
Provides: perl(CHI::Types) = %{version}
Provides: perl(CHI::Util) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -85,7 +108,7 @@ adhering to the basic Cache API but adding new features and addressing
limitations in the Cache::Cache implementation.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor