From 8c7434993882afc15071a0656c0c393d828ec2a1 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Mar 01 2010 08:14:05 +0000 Subject: - update by Fedora::App::MaintainerTools 0.004 - PERL_INSTALL_ROOT => DESTDIR --- diff --git a/.cvsignore b/.cvsignore index b376727..afd7467 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Class-Method-Modifiers-1.04.tar.gz +Class-Method-Modifiers-1.05.tar.gz diff --git a/auto.ini b/auto.ini new file mode 100644 index 0000000..d362ba3 --- /dev/null +++ b/auto.ini @@ -0,0 +1,3 @@ +[add_build_requires] +perl(MRO::Compat)=0 +perl(Test::More)=0 diff --git a/perl-Class-Method-Modifiers.spec b/perl-Class-Method-Modifiers.spec index a44b776..dbbc33f 100644 --- a/perl-Class-Method-Modifiers.spec +++ b/perl-Class-Method-Modifiers.spec @@ -1,22 +1,23 @@ - -Name: perl-Class-Method-Modifiers -Version: 1.04 -Release: 2%{?dist} -License: GPL+ or Artistic -Group: Development/Libraries -Summary: Provides Moose-like method modifiers -Source: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Class-Method-Modifiers-%{version}.tar.gz -Url: http://search.cpan.org/dist/Class-Method-Modifiers -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -BuildArch: noarch - -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -BuildRequires: perl(MRO::Compat) -# testing -BuildRequires: perl(Test::Exception) -BuildRequires: perl(Test::More) - +Name: perl-Class-Method-Modifiers +Summary: Provides Moose-like method modifiers +Version: 1.05 +Release: 1%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Class-Method-Modifiers-%{version}.tar.gz +URL: http://search.cpan.org/dist/Class-Method-Modifiers +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(MRO::Compat) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) + + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} %description Method modifiers are a powerful feature from the CLOS (Common Lisp Object @@ -37,8 +38,6 @@ particular modifiers work. %prep %setup -q -n Class-Method-Modifiers-%{version} -find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|' {} + - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -46,7 +45,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 ';' @@ -60,11 +59,15 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes t/ +%doc Changes %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Mon Mar 01 2010 Chris Weyl 1.05-1 +- update by Fedora::App::MaintainerTools 0.004 +- PERL_INSTALL_ROOT => DESTDIR + * Fri Dec 4 2009 Stepan Kasal - 1.04-2 - rebuild against perl 5.10.1 diff --git a/sources b/sources index 60a0922..d22c09f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bf278d379903849d492ab975d6504cbe Class-Method-Modifiers-1.04.tar.gz +8f504d4a95b2994835fbe72a3790864e Class-Method-Modifiers-1.05.tar.gz