From 3c86c3eee6e287840311f34c1b1a2e8993794e5b Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 28 Feb 2010 05:20:43 +0000 Subject: [PATCH] - update by Fedora::App::MaintainerTools 0.004 - PERL_INSTALL_ROOT => DESTDIR --- .cvsignore | 2 +- auto.ini | 6 +++++ perl-Mouse.spec | 58 ++++++++++++++++++++++++------------------------- sources | 2 +- 4 files changed, 36 insertions(+), 32 deletions(-) create mode 100644 auto.ini diff --git a/.cvsignore b/.cvsignore index 6518859..4de97f6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Mouse-0.47.tar.gz +Mouse-0.50.tar.gz diff --git a/auto.ini b/auto.ini new file mode 100644 index 0000000..a220f18 --- /dev/null +++ b/auto.ini @@ -0,0 +1,6 @@ +[add_build_requires] +; "soft" requires +perl(Class::Method::Modifiers)=0 +perl(MRO::Compat)=0 +; testing +perl(Moose)=0 diff --git a/perl-Mouse.spec b/perl-Mouse.spec index c3665d7..632c2a8 100644 --- a/perl-Mouse.spec +++ b/perl-Mouse.spec @@ -1,36 +1,30 @@ -Name: perl-Mouse -Version: 0.47 -Release: 1%{?dist} -License: GPL+ or Artistic -Group: Development/Libraries -Summary: Moose minus the antlers -Source: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Mouse-%{version}.tar.gz -Url: http://search.cpan.org/dist/Mouse -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -BuildRequires: perl(Class::Method::Modifiers) >= 1.01 -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -BuildRequires: perl(MRO::Compat) -BuildRequires: perl(Scalar::Util) >= 1.14 -# tests -BuildRequires: perl(Moose) -BuildRequires: perl(Test::Exception) >= 0.27 -BuildRequires: perl(Test::More) >= 0.88 - -# "soft requires" -BuildRequires: perl(MRO::Compat) - -### auto-added reqs! -Requires: perl(Scalar::Util) >= 1.14 -Requires: perl(XSLoader) >= 0.1 - -### auto-added brs! +Name: perl-Mouse +Summary: Moose minus the antlers +Version: 0.50 +Release: 1%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Mouse-%{version}.tar.gz +URL: http://search.cpan.org/dist/Mouse +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +BuildRequires: perl(Class::Method::Modifiers) >= 1.01 BuildRequires: perl(Devel::PPPort) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: perl(Moose) +BuildRequires: perl(MRO::Compat) +BuildRequires: perl(Scalar::Util) >= 1.14 +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(XSLoader) >= 0.1 +Requires: perl(Scalar::Util) >= 1.14 +Requires: perl(XSLoader) >= 0.1 + %{?perl_default_filter} +%{?perl_default_subpackage_tests} %description Moose, a powerful metaobject-fuelled extension of the Perl 5 object system, @@ -56,7 +50,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{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 ';' @@ -70,12 +64,16 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes benchmarks/ t/ +%doc Changes benchmarks/ %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto %{_mandir}/man3/*.3* %changelog +* Sun Feb 28 2010 Chris Weyl 0.50-1 +- update by Fedora::App::MaintainerTools 0.004 +- PERL_INSTALL_ROOT => DESTDIR + * Wed Jan 20 2010 Chris Weyl 0.47-1 - add perl_default_filter - we're no longer noarch diff --git a/sources b/sources index 6f03bf1..6f47336 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8038848921bc956f0b54591540cbdf66 Mouse-0.47.tar.gz +529bd5241135c1dae8c382bb123bd586 Mouse-0.50.tar.gz