Perl mass rebuild

add perl_bootstrap macro
This commit is contained in:
Marcela Mašláňová 2011-06-28 18:59:17 +02:00
parent c7add14847
commit f2e00c6a30

View File

@ -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@redhat.com> - 0.73-2
- Perl mass rebuild
- add perl_bootstrap macro
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 0.73-1
- update to latest upstream version
- clean up spec for modern rpmbuild