commit f2e00c6a30dd14108590d3f3f3e1ec143395b37a Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Tue Jun 28 18:59:17 2011 +0200 Perl mass rebuild add perl_bootstrap macro perl-YAML.spec | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) --- diff --git a/perl-YAML.spec b/perl-YAML.spec index 1dc3775..b1d2e73 100644 --- a/perl-YAML.spec +++ b/perl-YAML.spec @@ -1,6 +1,6 @@ Name: perl-YAML Version: 0.73 -Release: 1%{?dist} +Release: 2%{?dist} Summary: YAML Ain't Markup Language (tm) License: GPL+ or Artistic Group: Development/Libraries @@ -8,7 +8,9 @@ URL: http://search.cpan.org/dist/YAML/ Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) +%if !%{defined perl_bootstrap} BuildRequires: perl(Test::CPAN::Meta), perl(Test::MinimumVersion), perl(Test::Pod) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -46,7 +48,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check +%if !%{defined perl_bootstrap} make test AUTOMATED_TESTING=1 +%endif %files %doc Changes README LICENSE @@ -54,6 +58,10 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/YAML*.3* %changelog +* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.73-2 +- Perl mass rebuild +- add perl_bootstrap macro + * Sat May 14 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.73-1 - update to latest upstream version - clean up spec for modern rpmbuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel