Perl mass rebuild
add perl_bootstrap macro
This commit is contained in:
parent
6701238701
commit
b0ad96885b
@ -1,6 +1,6 @@
|
||||
Name: perl-Sub-Install
|
||||
Version: 0.925
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Install subroutines into packages easily
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -10,9 +10,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
# testing
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Test::Perl::Critic)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This module makes it easy to install subroutines into packages without the
|
||||
@ -40,7 +41,9 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
# you'll note a number of tests are skipped due to Test::Output not being
|
||||
# present. However, Test::Output requires Sub::Exporter which requires...
|
||||
# Sub::Install. Holy circular loop, Batman! :)
|
||||
%if !%{defined perl_bootstrap}
|
||||
make test
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -52,6 +55,10 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.925-9
|
||||
- Perl mass rebuild
|
||||
- add perl_bootstrap macro
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user