- update by Fedora::App::MaintainerTools 0.004

- PERL_INSTALL_ROOT => DESTDIR
This commit is contained in:
Chris Weyl 2010-03-01 08:14:05 +00:00
parent bb5ff180db
commit 8c74349938
4 changed files with 28 additions and 22 deletions

View File

@ -1 +1 @@
Class-Method-Modifiers-1.04.tar.gz
Class-Method-Modifiers-1.05.tar.gz

3
auto.ini Normal file
View File

@ -0,0 +1,3 @@
[add_build_requires]
perl(MRO::Compat)=0
perl(Test::More)=0

View File

@ -1,22 +1,23 @@
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
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)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(MRO::Compat)
# testing
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 <cweyl@alumni.drew.edu> 1.05-1
- update by Fedora::App::MaintainerTools 0.004
- PERL_INSTALL_ROOT => DESTDIR
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.04-2
- rebuild against perl 5.10.1

View File

@ -1 +1 @@
bf278d379903849d492ab975d6504cbe Class-Method-Modifiers-1.04.tar.gz
8f504d4a95b2994835fbe72a3790864e Class-Method-Modifiers-1.05.tar.gz