jplesnik pushed to perl-MasonX-Request-WithApacheSession (master). "0.31 bump; Modernize spec"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Jul 22 07:31:25 UTC 2015
From e55f40d3b53fec82c5c425858757e9b95e2b2d2c Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 22 Jul 2015 09:30:32 +0200
Subject: 0.31 bump; Modernize spec
diff --git a/.gitignore b/.gitignore
index b89c17e..5c0df73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
MasonX-Request-WithApacheSession-0.30.tar.gz
+/MasonX-Request-WithApacheSession-0.31.tar.gz
diff --git a/MasonX-Request-WithApacheSession-0.30_subrequests.patch b/MasonX-Request-WithApacheSession-0.30_subrequests.patch
deleted file mode 100644
index 3556baa..0000000
--- a/MasonX-Request-WithApacheSession-0.30_subrequests.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up lib/MasonX/Request/WithApacheSession.pm.subrequest lib/MasonX/Request/WithApacheSession.pm
---- lib/MasonX/Request/WithApacheSession.pm.subrequest 2008-01-17 12:52:50.000000000 -0600
-+++ lib/MasonX/Request/WithApacheSession.pm 2008-01-17 12:55:25.000000000 -0600
-@@ -74,7 +74,7 @@ sub new
-
- my $self = $class->SUPER::new(@_);
-
-- return if $self->is_subrequest;
-+ return $self if $self->is_subrequest;
-
- # backwards compatibility
- $self->{session_param_name} =
diff --git a/perl-MasonX-Request-WithApacheSession.spec b/perl-MasonX-Request-WithApacheSession.spec
index 5ab0723..fc2ab07 100644
--- a/perl-MasonX-Request-WithApacheSession.spec
+++ b/perl-MasonX-Request-WithApacheSession.spec
@@ -1,21 +1,33 @@
Name: perl-MasonX-Request-WithApacheSession
-Version: 0.30
-Release: 22%{?dist}
+Version: 0.31
+Release: 1%{?dist}
Summary: Add a session to the Mason Request object
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MasonX-Request-WithApacheSession/
-Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/MasonX-Request-WithApacheSession-%{version}.tar.gz
-Patch0: MasonX-Request-WithApacheSession-0.30_subrequests.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://www.cpan.org/authors/id/B/BL/BLHOTSKY/MasonX-Request-WithApacheSession-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Apache::Session::Flex)
BuildRequires: perl(Apache::Session::Wrapper) >= 0.13
+BuildRequires: perl(base)
+BuildRequires: perl(Cwd)
+BuildRequires: perl(Digest::SHA1)
+BuildRequires: perl(File::Basename)
+BuildRequires: perl(File::Find::Rule)
+BuildRequires: perl(File::Path)
+BuildRequires: perl(File::Spec)
BuildRequires: perl(HTML::Mason) >= 1.16
+BuildRequires: perl(HTML::Mason::Exceptions)
+BuildRequires: perl(HTML::Mason::Request)
+BuildRequires: perl(HTML::Mason::Tests)
BuildRequires: perl(Module::Build)
-BuildRequires: perl(File::Find::Rule)
-BuildRequires: perl(Test::Pod)
-Requires: perl(Apache::Session::Wrapper) >= 0.13
-Requires: perl(HTML::Mason) >= 1.16
+BuildRequires: perl(Params::Validate)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Time::HiRes)
+BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -24,33 +36,28 @@ Mason Request object available in all Mason components.
%prep
%setup -q -n MasonX-Request-WithApacheSession-%{version}
-%patch0
%build
%{__perl} Build.PL installdirs=vendor
./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/*
%check
./Build test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Tue Jul 21 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.31-1
+- 0.31 bump
+- Modernize spec
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.30-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
@@ -105,7 +112,7 @@ rm -rf $RPM_BUILD_ROOT
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.30-5
- rebuild for new perl
-* Tue Jan 16 2008 <gouldwp at auburn.edu> 0.30-4
+* Wed Jan 16 2008 <gouldwp at auburn.edu> 0.30-4
- Specfile autogenerated by cpanspec 1.74.
- Applied subrequest patch to WithApacheSession.pm
- Fixed above subrequest patch - it was screwed up.
diff --git a/sources b/sources
index 1b29434..7461544 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d613565d3c7b2242b75e9f7552470dcf MasonX-Request-WithApacheSession-0.30.tar.gz
+a05a477bb99789e1a87fcb5b0196fbf5 MasonX-Request-WithApacheSession-0.31.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-MasonX-Request-WithApacheSession.git/commit/?h=master&id=e55f40d3b53fec82c5c425858757e9b95e2b2d2c
More information about the perl-devel
mailing list