Remove bootstrap conditions
This commit is contained in:
parent
c832df027b
commit
53def1d84a
@ -1,6 +1,6 @@
|
||||
Name: perl-Pod-Parser
|
||||
Version: 1.60
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Basic perl modules for handling Plain Old Documentation (POD)
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -15,12 +15,10 @@ BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Spec)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More) >= 0.6
|
||||
%if !%{defined perl_bootstrap}
|
||||
# Break circular dependency Pod::Checker <-> Pod::Parser
|
||||
# Circular dependency Pod::Checker <-> Pod::Parser
|
||||
BuildRequires: perl(Pod::Checker) >= 1.40
|
||||
# Break circular dependency Pod::Usage <-> Pod::Select
|
||||
# Circular dependency Pod::Usage <-> Pod::Select
|
||||
BuildRequires: perl(Pod::Usage)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
@ -48,25 +46,19 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
%if %{defined perl_bootstrap}
|
||||
# Break circular dependency Pod::Usage <-> Pod::Select
|
||||
rm -f t/pod/headings.t
|
||||
%endif
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc ANNOUNCE CHANGES README TODO
|
||||
%if %{defined perl_bootstrap}
|
||||
# Break circular dependency Pod::Usage <-> Pod::Select
|
||||
%exclude %{_bindir}/podselect
|
||||
%else
|
||||
%{_bindir}/podselect
|
||||
%endif
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 08 2013 Petr Pisar <ppisar@redhat.com> - 1.60-2
|
||||
- Remove bootstrap conditions
|
||||
|
||||
* Tue Feb 05 2013 Petr Pisar <ppisar@redhat.com> - 1.60-1
|
||||
- 1.60 bump
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user