Perl mass rebuild

add perl_bootstrap macro
This commit is contained in:
Marcela Mašláňová 2011-06-28 18:31:55 +02:00
parent 23dbdf8b6b
commit dca5e955c9

View File

@ -1,6 +1,6 @@
Name: perl-File-Which Name: perl-File-Which
Version: 1.09 Version: 1.09
Release: 5%{?dist} Release: 6%{?dist}
Summary: Portable implementation of the 'which' utility Summary: Portable implementation of the 'which' utility
Group: Development/Libraries Group: Development/Libraries
@ -10,7 +10,10 @@ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Which-%{version}.
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::Script) BuildRequires: perl(ExtUtils::MakeMaker)
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::Script)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
@ -39,8 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/*
%check %check
%if !%{defined perl_bootstrap}
make test make test
%endif
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -56,6 +60,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.09-6
- Perl mass rebuild
- add perl_bootstrap macro
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-5 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild