From ae9ef5a97f16ae5e0d7c32f8e63cd80f4d85d824 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Mon, 26 Nov 2007 05:54:38 +0000 Subject: [PATCH] - update to 0.30 --- .cvsignore | 2 +- perl-Moose.spec | 28 +++++++++++++++++++--------- sources | 2 +- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/.cvsignore b/.cvsignore index f391074..0456be1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Moose-0.29.tar.gz +Moose-0.30.tar.gz diff --git a/perl-Moose.spec b/perl-Moose.spec index c85ec9a..494d78b 100644 --- a/perl-Moose.spec +++ b/perl-Moose.spec @@ -1,11 +1,12 @@ Name: perl-Moose -Version: 0.26 +Version: 0.30 Release: 1%{?dist} Summary: Complete modern object system for Perl 5 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 +Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STEVAN/Moose-%{version}.tar.gz +#Source0: http://search.cpan.org/CPAN/authors/id/G/GR/GRODITI/Moose-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -17,7 +18,7 @@ Patch: t202_tmpfile.patch BuildRequires: perl(Test::More) >= 0.62 BuildRequires: perl(ExtUtils::MakeMaker) # cpan -BuildRequires: perl(Class::MOP) >= 0.39 +BuildRequires: perl(Class::MOP) >= 0.46 BuildRequires: perl(Module::Build) BuildRequires: perl(Sub::Exporter) >= 0.954 BuildRequires: perl(Sub::Install) >= 0.92 @@ -67,10 +68,6 @@ Perl 6 OO. So instead of switching to Ruby, I wrote Moose :) # test patches %patch -%build -%{__perl} Build.PL installdirs=vendor -./Build - find t/ -type f -exec perl -pi -e 's|^#!/usr/local/bin|#!/usr/bin|' {} + # Filter unwanted Provides: @@ -83,16 +80,22 @@ EOF %define __perl_provides %{_builddir}/Moose-%{version}/%{name}-prov chmod +x %{__perl_provides} +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + %install rm -rf %{buildroot} -./Build install destdir=%{buildroot} create_packlist=0 +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check -./Build test +make test %clean rm -rf %{buildroot} @@ -104,6 +107,13 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Sun Nov 25 2007 Chris Weyl 0.30-1 +- update to 0.30 + +* Sat Nov 17 2007 Chris Weyl 0.29-1 +- update to 0.29 +- refactor to Module::Install + * Sun Oct 14 2007 Chris Weyl 0.26-1 - udpate to 0.26 diff --git a/sources b/sources index 83beb4c..aff0f71 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5575d3b995cedb94a0850b85094675cd Moose-0.29.tar.gz +b04731e99afb59f97596931f800a1279 Moose-0.30.tar.gz