- udpate to 0.26

Sat Aug 11 2007 Chris Weyl <cweyl@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 .
epel9
Chris Weyl 17 years ago
parent 38b4d61f8f
commit cfd93623e7

@ -1 +1 @@
Moose-0.22.tar.gz
Moose-0.26.tar.gz

@ -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,11 +10,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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(Class::MOP) >= 0.39
BuildRequires: perl(Sub::Exporter) >= 0.954
BuildRequires: perl(Sub::Install) >= 0.92
BuildRequires: perl(Test::Exception) >= 0.21
@ -60,6 +63,9 @@ Perl 6 OO. So instead of switching to Ruby, I wrote Moose :)
%prep
%setup -q -n Moose-%{version}
# test patches
%patch
%build
%{__perl} Build.PL installdirs=vendor
./Build
@ -97,6 +103,14 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Sun Oct 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.26-1
- udpate to 0.26
* Sat Aug 11 2007 Chris Weyl <cweyl@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@alumni.drew.edu> 0.22-1
- update to 0.22

@ -1 +1 @@
cc0b951659e9669a81a0e675b5618cb1 Moose-0.22.tar.gz
3356b452daf2ea887b13c0899bbb6fd7 Moose-0.26.tar.gz

@ -0,0 +1,38 @@
--- 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
+
Loading…
Cancel
Save