Perl mass rebuild

add perl_bootstrap macro
This commit is contained in:
Marcela Mašláňová 2011-06-28 19:45:15 +02:00
parent 4da62bde7b
commit f5994a9a4f
1 changed files with 9 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Name: perl-Data-OptList
Summary: Parse and validate simple name/value option pairs
Version: 0.107
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz
@ -13,8 +13,9 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(List::Util)
BuildRequires: perl(Params::Util)
BuildRequires: perl(Sub::Install) >= 0.921
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::Pod)
%endif
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
@ -40,7 +41,9 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
%if !%{defined perl_bootstrap}
make test
%endif
%files
%doc Changes README
@ -48,6 +51,10 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.107-2
- Perl mass rebuild
- add perl_bootstrap macro
* Wed May 11 2011 Iain Arnell <iarnell@gmail.com> 0.107-1
- update to latest upstream version
- clean up spec for modern rpmbuild