2024-07-19 21:13:34 +00:00
committed by Git OBS Bridge
parent 98e2c5298b
commit 1ad573c563

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Catalyst-Plugin-Session-Store-File
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,29 +16,32 @@
#
Name: perl-Catalyst-Plugin-Session-Store-File
Version: 0.18
Release: 0
%define cpan_name Catalyst-Plugin-Session-Store-File
Summary: File storage backend for session data
Name: perl-Catalyst-Plugin-Session-Store-File
Version: 0.180.0
Release: 0
# 0.18 -> normalize -> 0.180.0
%define cpan_version 0.18
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/F/FL/FLORA/%{cpan_name}-%{version}.tar.gz
Summary: File storage backend for session data
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/F/FL/FLORA/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Cache::Cache) >= 1.02
BuildRequires: perl(Catalyst::Plugin::Session) >= 0.27
BuildRequires: perl(Catalyst::Runtime) >= 5.7000
BuildRequires: perl(Catalyst::Plugin::Session) >= 0.270.0
BuildRequires: perl(Catalyst::Runtime) >= 5.700.0
BuildRequires: perl(Class::Data::Inheritable) >= 0.04
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(MRO::Compat) >= 0.10
Requires: perl(Cache::Cache) >= 1.02
Requires: perl(Catalyst::Plugin::Session) >= 0.27
Requires: perl(Catalyst::Runtime) >= 5.7000
Requires: perl(Catalyst::Plugin::Session) >= 0.270.0
Requires: perl(Catalyst::Runtime) >= 5.700.0
Requires: perl(Class::Data::Inheritable) >= 0.04
Requires: perl(MRO::Compat) >= 0.10
Provides: perl(Catalyst::Plugin::Session::Store::File) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -47,11 +50,11 @@ for Catalyst that uses an simple file to act as a shared memory
interprocess cache. It is based on 'Cache::FileCache'.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -62,7 +65,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog