rpms/perl-MasonX-Request-WithApacheSession/devel MasonX-Request-WithApacheSession-0.30_subrequests.patch, NONE, 1.1 perl-MasonX-Request-WithApacheSession.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Walter Gould (gouldwp) fedora-extras-commits at redhat.com
Tue Jan 22 22:04:47 UTC 2008


Author: gouldwp

Update of /cvs/pkgs/rpms/perl-MasonX-Request-WithApacheSession/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8643/devel

Modified Files:
	.cvsignore sources 
Added Files:
	MasonX-Request-WithApacheSession-0.30_subrequests.patch 
	perl-MasonX-Request-WithApacheSession.spec 
Log Message:


MasonX-Request-WithApacheSession-0.30_subrequests.patch:

--- NEW FILE MasonX-Request-WithApacheSession-0.30_subrequests.patch ---
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} =


--- NEW FILE perl-MasonX-Request-WithApacheSession.spec ---
Name:           perl-MasonX-Request-WithApacheSession
Version:        0.30
Release:        4%{?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)
BuildArch:      noarch
BuildRequires:  perl(Apache::Session::Wrapper) >= 0.13
BuildRequires:  perl(HTML::Mason) >= 1.16
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
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module integrates Apache::Session into Mason by adding methods to the
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 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.
- Added extra build dependencies perl(File::Find::Rule) and perl(Test::Pod).


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-MasonX-Request-WithApacheSession/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Jan 2008 17:11:36 -0000	1.1
+++ .cvsignore	22 Jan 2008 22:04:06 -0000	1.2
@@ -0,0 +1 @@
+MasonX-Request-WithApacheSession-0.30.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-MasonX-Request-WithApacheSession/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Jan 2008 17:11:36 -0000	1.1
+++ sources	22 Jan 2008 22:04:06 -0000	1.2
@@ -0,0 +1 @@
+d613565d3c7b2242b75e9f7552470dcf  MasonX-Request-WithApacheSession-0.30.tar.gz




More information about the fedora-extras-commits mailing list