rpms/perl-Moose/devel t202_tmpfile.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 perl-Moose.spec, 1.12, 1.13 sources, 1.10, 1.11

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Mon Oct 15 04:48:15 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-Moose/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5429

Modified Files:
	.cvsignore perl-Moose.spec sources 
Added Files:
	t202_tmpfile.patch 
Log Message:
* Sun Oct 14 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.26-1
- udpate to 0.26

* Sat Aug 11 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.24-1
- update to 0.24
- license tag: GPL -> GPL+
- patch t/202_...t to write to a tmpdir rather than .


t202_tmpfile.patch:

--- NEW FILE t202_tmpfile.patch ---
--- t/200_examples/002_example_Moose_POOP.t.orig	2007-08-11 09:35:55.683687891 -0700
+++ t/200_examples/002_example_Moose_POOP.t	2007-08-11 09:36:25.010424972 -0700
@@ -37,14 +37,18 @@
     use Moose;
     
     use DBM::Deep;
+    use File::Temp qw{ tempfile };
+    use File::Spec::Functions qw{ tmpdir };
     
     extends 'Moose::Meta::Instance';
     
     {
         my %INSTANCE_COUNTERS;
+    
+        my (undef, $filename) = tempfile 't_202_XXXXXXX', DIR => tmpdir;
 
         my $db = DBM::Deep->new({
-            file      => "newswriter.db",
+            file      => $filename,
             autobless => 1,
             locking   => 1,
         });
@@ -54,7 +58,7 @@
             #warn Dumper $db;            
             $db = undef;
             $db = DBM::Deep->new({
-                file      => "newswriter.db",
+                file      => $filename,
                 autobless => 1,
                 locking   => 1,
             }); 
@@ -431,4 +435,4 @@
     
 }
 
-unlink('newswriter.db') if -e 'newswriter.db';
\ No newline at end of file
+


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Moose/devel/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- .cvsignore	1 Jun 2007 00:46:47 -0000	1.10
+++ .cvsignore	15 Oct 2007 04:47:41 -0000	1.11
@@ -1 +1 @@
-Moose-0.22.tar.gz
+Moose-0.26.tar.gz


Index: perl-Moose.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Moose/devel/perl-Moose.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- perl-Moose.spec	1 Jun 2007 00:46:47 -0000	1.12
+++ perl-Moose.spec	15 Oct 2007 04:47:41 -0000	1.13
@@ -1,8 +1,8 @@
 Name:           perl-Moose
-Version:        0.22
+Version:        0.26
 Release:        1%{?dist}
 Summary:        Complete modern object system for Perl 5
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Moose/
 Source0:        http://www.cpan.org/authors/id/S/ST/STEVAN/Moose-%{version}.tar.gz
@@ -10,14 +10,17 @@
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+# write temp db to tmpdir rather than .
+Patch:          t202_tmpfile.patch
+
 # core
-BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::More)         >= 0.62
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # cpan
-BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Class::MOP) >= 0.36
-BuildRequires:  perl(Sub::Exporter) >= 0.954
-BuildRequires:  perl(Sub::Install) >= 0.92
-BuildRequires:  perl(Test::Exception) >= 0.21
+BuildRequires:  perl(Class::MOP)         >= 0.39
+BuildRequires:  perl(Sub::Exporter)      >= 0.954
+BuildRequires:  perl(Sub::Install)       >= 0.92
+BuildRequires:  perl(Test::Exception)    >= 0.21
 BuildRequires:  perl(Test::LongString)
 BuildRequires:  perl(UNIVERSAL::require) >= 0.10
 # optional test #1 (in no particular order)
@@ -60,6 +63,9 @@
 %prep
 %setup -q -n Moose-%{version}
 
+# test patches
+%patch
+
 %build
 %{__perl} Build.PL installdirs=vendor
 ./Build
@@ -97,6 +103,14 @@
 %{_mandir}/man3/*
 
 %changelog
+* Sun Oct 14 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.26-1
+- udpate to 0.26
+
+* Sat Aug 11 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.24-1
+- update to 0.24
+- license tag: GPL -> GPL+
+- patch t/202_...t to write to a tmpdir rather than .
+
 * Thu May 31 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.22-1
 - update to 0.22
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Moose/devel/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sources	1 Jun 2007 00:46:47 -0000	1.10
+++ sources	15 Oct 2007 04:47:41 -0000	1.11
@@ -1 +1 @@
-cc0b951659e9669a81a0e675b5618cb1  Moose-0.22.tar.gz
+3356b452daf2ea887b13c0899bbb6fd7  Moose-0.26.tar.gz




More information about the fedora-extras-commits mailing list