1.60 bump
This commit is contained in:
parent
33aa8a2143
commit
c832df027b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/Pod-Parser-1.51.tar.gz
|
||||
/Pod-Parser-1.60.tar.gz
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: perl-Pod-Parser
|
||||
Version: 1.51
|
||||
Release: 248%{?dist}
|
||||
Version: 1.60
|
||||
Release: 1%{?dist}
|
||||
Summary: Basic perl modules for handling Plain Old Documentation (POD)
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -8,55 +8,26 @@ URL: http://search.cpan.org/dist/Pod-Parser/
|
||||
Source0: http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Parser-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-time
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Cwd)
|
||||
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
|
||||
BuildRequires: perl(Pod::Checker) >= 1.40
|
||||
# Break circular dependency Pod::Usage <-> Pod::Select
|
||||
BuildRequires: perl(Pod::Usage)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
# Filter under-specified depenedencies
|
||||
%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(Pod::Parser\\)$
|
||||
|
||||
%description
|
||||
This software distribution contains the packages for using Perl5 POD (Plain
|
||||
Old Documentation). See the "perlpod" and "perlsyn" manual pages from your
|
||||
Perl5 distribution for more information about POD.
|
||||
|
||||
%package -n perl-Pod-Checker
|
||||
Summary: Check POD documents for syntax errors
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Conflicts: perl-Pod-Parser < 1.51-248
|
||||
|
||||
%description -n perl-Pod-Checker
|
||||
Module and tools to verify POD documentation contents for compliance with the
|
||||
Plain Old Documentation format specifications.
|
||||
|
||||
%package -n perl-Pod-Usage
|
||||
Summary: Print a usage message from embedded pod documentation
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
# Pod::Usage execute perldoc from perl-Pod-Perldoc by default
|
||||
BuildRequires: perl-Pod-Perldoc
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
|
||||
Requires: perl-Pod-Perldoc
|
||||
Requires: perl(Pod::Text)
|
||||
Conflicts: perl-Pod-Parser < 1.51-248
|
||||
|
||||
%description -n perl-Pod-Usage
|
||||
pod2usage will print a usage message for the invoking script (using its
|
||||
embedded POD documentation) and then exit the script with the desired exit
|
||||
status. The usage message printed may have any one of three levels of
|
||||
"verboseness": If the verbose level is 0, then only a synopsis is printed.
|
||||
If the verbose level is 1, then the synopsis is printed along with a
|
||||
description (if present) of the command line options and arguments. If the
|
||||
verbose level is 2, then the entire manual page is printed.
|
||||
|
||||
%prep
|
||||
%setup -q -n Pod-Parser-%{version}
|
||||
find -type f -exec chmod -x {} +
|
||||
@ -77,42 +48,28 @@ 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
|
||||
%{_bindir}/*
|
||||
%if %{defined perl_bootstrap}
|
||||
# Break circular dependency Pod::Usage <-> Pod::Select
|
||||
%exclude %{_bindir}/podselect
|
||||
%else
|
||||
%{_bindir}/podselect
|
||||
%endif
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
# Pod-Checker
|
||||
%exclude %{_bindir}/podchecker
|
||||
%exclude %{perl_vendorlib}/Pod/Checker.pm
|
||||
%exclude %{_mandir}/man1/podchecker.*
|
||||
%exclude %{_mandir}/man3/Pod::Checker.*
|
||||
|
||||
# Pod-Usage
|
||||
%exclude %{_bindir}/pod2usage
|
||||
%exclude %{perl_vendorlib}/Pod/Usage.pm
|
||||
%exclude %{_mandir}/man1/pod2usage.*
|
||||
%exclude %{_mandir}/man3/Pod::Usage.*
|
||||
|
||||
%files -n perl-Pod-Checker
|
||||
%doc ANNOUNCE CHANGES README TODO
|
||||
%{_bindir}/podchecker
|
||||
%{perl_vendorlib}/Pod/Checker.pm
|
||||
%{_mandir}/man1/podchecker.*
|
||||
%{_mandir}/man3/Pod::Checker.*
|
||||
|
||||
%files -n perl-Pod-Usage
|
||||
%doc ANNOUNCE CHANGES README TODO
|
||||
%{_bindir}/pod2usage
|
||||
%{perl_vendorlib}/Pod/Usage.pm
|
||||
%{_mandir}/man1/pod2usage.*
|
||||
%{_mandir}/man3/Pod::Usage.*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 05 2013 Petr Pisar <ppisar@redhat.com> - 1.60-1
|
||||
- 1.60 bump
|
||||
|
||||
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> - 1.51-248
|
||||
- Sub-package Pod-Usage
|
||||
- Sub-package Pod-Checker
|
||||
|
||||
Loading…
Reference in New Issue
Block a user