From 67222fd387b5531dfedb31cab7350053fdd8685c Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sat, 20 Mar 2010 17:46:23 +0000 Subject: [PATCH] - update by Fedora::App::MaintainerTools 0.006 - updating to latest GA CPAN version (0.99) --- .cvsignore | 2 +- auto.ini | 108 ++++++++++++++++++++++++++++++++++++++++++++++++ perl-Moose.spec | 40 +++++++++--------- sources | 2 +- 4 files changed, 130 insertions(+), 22 deletions(-) diff --git a/.cvsignore b/.cvsignore index 9da5ae6..febcb57 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Moose-0.98.tar.gz +Moose-0.99.tar.gz diff --git a/auto.ini b/auto.ini index 39c01fb..c156819 100644 --- a/auto.ini +++ b/auto.ini @@ -1,3 +1,11 @@ + +; This is probably an odd choice to try fully-managed mode out on, as we have +; a subpackage to deal with, but... Why not :) + +[common] +; Set to 0 to DISABLE all description/prep/build/etc management. +is_fully_managed=1 + [add_build_requires] ; optional test #1 (in no particular order) ; ** moved to author tests @@ -29,3 +37,103 @@ perl(Test::Warn)=0 perl(Test::Output)=0 ; optional test #10 perl(DateTime::Calendar::Mayan)=0 + +[spec_description] +content= </dev/null \; +; +;%{_fixperms} %{buildroot}/* +; +;EOT + +;[spec_check] +; Set to 0 or delete section to use the default +;use_custom=1 +;custom= <= 0.02 + %{?perl_default_filter} %{?perl_default_subpackage_tests} %description Moose is an extension of the Perl 5 object system. -Moose is built on top of Class::MOP, which is a metaclass system for -Perl 5. This means that Moose not only makes building normal Perl 5 -objects better, but it also provides the power of metaclass programming. -such things. Moose is different from other Perl 5 object systems because -it is not a new system, but instead an extension of the existing one. +The main goal of Moose is to make Perl 5 Object Oriented programming easier, +more consistent and less tedious. With Moose you can to think more about what +you want to do and less about the mechanics of OOP. -While Moose is very much inspired by Perl 6, it is not itself Perl -6. Instead, it is an OO system for Perl 5. I built Moose because I was -tired or writing the same old boring Perl 5 OO code, and drooling over -Perl 6 OO. So instead of switching to Ruby, I wrote Moose :) +Additionally, Moose is built on top of Class::MOP, which is a metaclass system +for Perl 5. This means that Moose not only makes building normal Perl 5 +objects better, but it provides the power of metaclass programming as well. +Moose is different from other Perl 5 object systems because it is not a new +system, but instead an extension of the existing one. %package -n perl-Test-Moose License: GPL+ or Artistic @@ -76,28 +76,24 @@ very welcome. %prep %setup -q -n Moose-%{version} -# tidy things up... -find t/ -type f -exec perl -pi -e 's|^#!/usr/local/bin|#!/usr/bin|' {} + -find . -name '*.orig' -exec rm -v {} + -find . -type f -exec chmod -c -x {} + - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} - %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} + -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test + %clean rm -rf %{buildroot} @@ -116,6 +112,10 @@ rm -rf %{buildroot} %{_mandir}/man3/Test::Moose* %changelog +* Fri Mar 12 2010 Chris Weyl 0.99-1 +- update by Fedora::App::MaintainerTools 0.006 +- updating to latest GA CPAN version (0.99) + * Sat Feb 20 2010 Chris Weyl 0.98-1 - update by Fedora::App::MaintainerTools 0.003 diff --git a/sources b/sources index 537bb73..a5447c9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c040bde14d843ea09a0d138b25642f42 Moose-0.98.tar.gz +bb3a9b89268f6deae85018fdb510a8ec Moose-0.99.tar.gz