- update by Fedora::App::MaintainerTools 0.004
- PERL_INSTALL_ROOT => DESTDIR
This commit is contained in:
parent
2054540580
commit
69213bedb2
@ -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
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||||
Version: 1.04
|
BuildRequires: perl(MRO::Compat)
|
||||||
Release: 1%{?dist}
|
BuildRequires: perl(Test::Exception)
|
||||||
License: GPL+ or Artistic
|
BuildRequires: perl(Test::More)
|
||||||
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)
|
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
%{?perl_default_subpackage_tests}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Method modifiers are a powerful feature from the CLOS (Common Lisp Object
|
Method modifiers are a powerful feature from the CLOS (Common Lisp Object
|
||||||
@ -37,8 +38,6 @@ particular modifiers work.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n Class-Method-Modifiers-%{version}
|
%setup -q -n Class-Method-Modifiers-%{version}
|
||||||
|
|
||||||
find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|' {} +
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -46,7 +45,7 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
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} -type f -name .packlist -exec rm -f {} ';'
|
||||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
|
|
||||||
@ -60,11 +59,18 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes t/
|
%doc Changes
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
||||||
|
|
||||||
* Fri Jul 31 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.04-1
|
* Fri Jul 31 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.04-1
|
||||||
- auto-update to 1.04 (by cpan-spec-update 0.01)
|
- auto-update to 1.04 (by cpan-spec-update 0.01)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user