Perl mass rebuild

perl_bootstrap macro
epel9
Marcela Mašláňová 14 years ago
parent 96f0526b50
commit 629e3a96fe

@ -1,6 +1,6 @@
Name: perl-Test-Script Name: perl-Test-Script
Version: 1.07 Version: 1.07
Release: 5%{?dist} Release: 6%{?dist}
Summary: Cross-platform basic tests for scripts Summary: Cross-platform basic tests for scripts
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -15,11 +15,12 @@ BuildRequires: perl(Probe::Perl)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
# For improved tests # For improved tests
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::CPAN::Meta) >= 0.12 BuildRequires: perl(Test::CPAN::Meta) >= 0.12
BuildRequires: perl(Test::Pod) >= 1.26 BuildRequires: perl(Test::Pod) >= 1.26
BuildRequires: perl(Test::MinimumVersion) >= 0.008 BuildRequires: perl(Test::MinimumVersion) >= 0.008
BuildRequires: perl(Perl::MinimumVersion) >= 1.20 BuildRequires: perl(Perl::MinimumVersion) >= 1.20
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
@ -44,7 +45,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
%if !%{defined perl_bootstrap}
make test AUTOMATED_TESTING=1 RELEASE_TESTING=1 make test AUTOMATED_TESTING=1 RELEASE_TESTING=1
%endif
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -56,6 +59,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-6
- Perl mass rebuild
- perl_bootstrap macro
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

Loading…
Cancel
Save