forked from pool/perl-Apache-Session
Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Apache-Session?expand=0&rev=25
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 3 15:12:57 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 19 03:07:00 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
Sat Sep 19 03:07:00 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Apache-Session
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,23 +16,54 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Apache-Session
|
|
||||||
Version: 1.94
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Apache-Session
|
%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
|
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}
|
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
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Test::Deep) >= 0.082
|
BuildRequires: perl(Test::Deep) >= 0.82
|
||||||
BuildRequires: perl(Test::Exception) >= 0.150000
|
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}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -59,21 +90,20 @@ the MySQL locking class. You can easily plug in your own object store or
|
|||||||
locker class.
|
locker class.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL installdirs=vendor
|
perl Build.PL --installdirs=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
./Build build --flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc CHANGES Contributing.txt README TODO
|
%doc CHANGES Contributing.txt README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user