commit b31be4ea2e6a2f03f1f81126e2b8c6f5ddc7aefd Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Nov 11 11:15:24 2014 +0100 1.93 bump - Modernize spec .gitignore | 1 + perl-Apache-Session.spec | 69 ++++++++++++++++++++++++++++----------------- sources | 2 +- 3 files changed, 45 insertions(+), 27 deletions(-) --- diff --git a/.gitignore b/.gitignore index a29da9d..3ca4db6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Apache-Session-1.88.zip /Apache-Session-1.89.tar.gz +/Apache-Session-1.93.tar.gz diff --git a/perl-Apache-Session.spec b/perl-Apache-Session.spec index c1453dc..04988b9 100644 --- a/perl-Apache-Session.spec +++ b/perl-Apache-Session.spec @@ -1,6 +1,6 @@ Name: perl-Apache-Session -Version: 1.89 -Release: 12%{?dist} +Version: 1.93 +Release: 1%{?dist} Summary: Persistence framework for session data License: GPL+ or Artistic Group: Development/Libraries @@ -8,19 +8,42 @@ URL: http://search.cpan.org/dist/Apache-Session/ Source0: http://www.cpan.org/authors/id/C/CH/CHORNY/Apache-Session-%{version}.tar.gz # https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=118577, from Chris Grau Patch0: Apache-Session-mp2.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Temp) -BuildRequires: perl(Digest::MD5) -BuildRequires: perl(IO::File) -BuildRequires: perl(DBI) +# Build +BuildRequires: perl BuildRequires: perl(Module::Build) -BuildRequires: perl(Test::Deep) >= 0.082 -BuildRequires: perl(Test::Exception) >= 0.15 -BuildRequires: perl(Test::More) >= 0.47 -BuildRequires: perl(Test::Pod) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(strict) +# Runtime +BuildRequires: perl(Apache) +BuildRequires: perl(Apache2::RequestUtil) +BuildRequires: perl(Carp) +BuildRequires: perl(CGI::Cookie) +BuildRequires: perl(Config) +BuildRequires: perl(constant) +BuildRequires: perl(DB_File) +BuildRequires: perl(DBI) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Fcntl) +BuildRequires: perl(IO::File) +BuildRequires: perl(IPC::Semaphore) +BuildRequires: perl(IPC::SysV) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(Storable) +BuildRequires: perl(Symbol) +BuildRequires: perl(vars) +# Tests only +BuildRequires: perl(base) +BuildRequires: perl(Cwd) +BuildRequires: perl(DBD::mysql) +# Not available in Fedora yet; tests skipped automatically +# BuildRequires: perl(DBD::Oracle) +BuildRequires: perl(DBD::Pg) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::Database) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description Apache::Session is a persistence framework which is particularly useful for @@ -30,9 +53,7 @@ web servers, and it also works outside of a web server altogether. %prep %setup -q -n Apache-Session-%{version} - -find -type f -exec perl -pi -e 's/\r\n/\n/g' {} \; - +find -type f -exec perl -pi -e 's/\r//g' {} + %patch0 -p1 %build @@ -40,27 +61,23 @@ find -type f -exec perl -pi -e 's/\r\n/\n/g' {} \; ./Build %install -rm -rf $RPM_BUILD_ROOT - -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* %check ./Build test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc CHANGES Contributing.txt README TODO %doc eg/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Nov 11 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.93-1 +- 1.93 bump +- Modernize spec + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.89-12 - Perl 5.20 rebuild diff --git a/sources b/sources index 56b6cf8..b00533f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a21d1fbb30723e8d155c1936c7d9a37c Apache-Session-1.89.tar.gz +ce193821557215563e99672ed77025c1 Apache-Session-1.93.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel