|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package perl-Apache-Session
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2020 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
|
|
|
|
@@ -16,23 +16,55 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Apache-Session
|
|
|
|
|
Version: 1.94
|
|
|
|
|
Release: 0
|
|
|
|
|
%define cpan_name Apache-Session
|
|
|
|
|
Summary: Persistence framework for session data
|
|
|
|
|
Name: perl-Apache-Session
|
|
|
|
|
Version: 1.940.0
|
|
|
|
|
Release: 0
|
|
|
|
|
# 1.94 -> normalize -> 1.940.0
|
|
|
|
|
%define cpan_version 1.94
|
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Summary: Persistence framework for session data
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHORNY/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHORNY/%{cpan_name}-%{cpan_version}.tar.gz
|
|
|
|
|
Source1: cpanspec.yml
|
|
|
|
|
Source100: README.md
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
BuildRequires: perl(Test::Deep) >= 0.082
|
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.150000
|
|
|
|
|
BuildRequires: perl(Test::Deep) >= 0.82
|
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.15
|
|
|
|
|
Provides: perl(Apache::Session) = %{version}
|
|
|
|
|
Provides: perl(Apache::Session::DB_File) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::File) = 1.540.0
|
|
|
|
|
Provides: perl(Apache::Session::Flex) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Generate::MD5) = 2.120.0
|
|
|
|
|
Provides: perl(Apache::Session::Generate::ModUniqueId) = 0.20.0
|
|
|
|
|
Provides: perl(Apache::Session::Generate::ModUsertrack) = 0.20.0
|
|
|
|
|
Provides: perl(Apache::Session::Informix) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Lock::File) = 1.40.0
|
|
|
|
|
Provides: perl(Apache::Session::Lock::MySQL) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Lock::Null) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Lock::Semaphore) = 1.40.0
|
|
|
|
|
Provides: perl(Apache::Session::Lock::Sybase) = 1.0.0
|
|
|
|
|
Provides: perl(Apache::Session::MySQL) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::MySQL::NoLock) = 0.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Oracle) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Postgres) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Serialize::Base64) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Serialize::Storable) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Serialize::Sybase) = 1.0.0
|
|
|
|
|
Provides: perl(Apache::Session::Serialize::UUEncode) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Store::DBI) = 1.20.0
|
|
|
|
|
Provides: perl(Apache::Session::Store::DB_File) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Store::File) = 1.40.0
|
|
|
|
|
Provides: perl(Apache::Session::Store::Informix) = 1.20.0
|
|
|
|
|
Provides: perl(Apache::Session::Store::MySQL) = 1.40.0
|
|
|
|
|
Provides: perl(Apache::Session::Store::Oracle) = 1.100.0
|
|
|
|
|
Provides: perl(Apache::Session::Store::Postgres) = 1.30.0
|
|
|
|
|
Provides: perl(Apache::Session::Store::Sybase) = 1.10.0
|
|
|
|
|
Provides: perl(Apache::Session::Sybase) = 1.0.0
|
|
|
|
|
%undefine __perllib_provides
|
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@@ -59,21 +91,20 @@ the MySQL locking class. You can easily plug in your own object store or
|
|
|
|
|
locker class.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Build.PL installdirs=vendor
|
|
|
|
|
./Build build flags=%{?_smp_mflags}
|
|
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
|
./Build build --flags=%{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
|
%doc CHANGES Contributing.txt README TODO
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|