|
|
@ -1,31 +1,30 @@
|
|
|
|
Name: perl-Pod-Usage
|
|
|
|
Name: perl-Pod-Usage
|
|
|
|
# Compete with perl.spec's epoch
|
|
|
|
# Compete with perl.spec's epoch
|
|
|
|
Epoch: 4
|
|
|
|
Epoch: 4
|
|
|
|
Version: 1.69
|
|
|
|
Version: 2.01
|
|
|
|
Release: 396%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: Print a usage message from embedded POD documentation
|
|
|
|
Summary: Print a usage message from embedded POD documentation
|
|
|
|
# License clarification CPAN RT#102529
|
|
|
|
# License clarification CPAN RT#102529
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: https://metacpan.org/release/Pod-Usage
|
|
|
|
URL: http://search.cpan.org/dist/Pod-Usage/
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Pod-Usage-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Usage-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
# scripts/pod2usage.PL uses Config
|
|
|
|
# scripts/pod2usage.PL uses Config
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
# scripts/pod2usage.PL uses Cwd
|
|
|
|
# scripts/pod2usage.PL uses Cwd
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# scripts/pod2usage.PL uses File::Basename
|
|
|
|
# scripts/pod2usage.PL uses File::Basename
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: sed
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
|
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
@ -33,14 +32,17 @@ BuildRequires: perl(Exporter)
|
|
|
|
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
|
|
|
|
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
|
|
|
|
BuildRequires: perl-Pod-Perldoc
|
|
|
|
BuildRequires: perl-Pod-Perldoc
|
|
|
|
BuildRequires: perl(Pod::Text) >= 4
|
|
|
|
BuildRequires: perl(Pod::Text) >= 4
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
|
|
|
|
BuildRequires: perl(Pod::Perldoc) >= 3.28
|
|
|
|
BuildRequires: perl(Pod::PlainText)
|
|
|
|
BuildRequires: perl(Pod::PlainText)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.6
|
|
|
|
BuildRequires: perl(Test::More) >= 0.6
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# VMS::Filespec not used
|
|
|
|
# VMS::Filespec not used
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Optional tests:
|
|
|
|
|
|
|
|
# CPAN::Meta not helpful
|
|
|
|
|
|
|
|
# CPAN::Meta::Prereqs not helpful
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(File::Spec) >= 0.82
|
|
|
|
Requires: perl(File::Spec) >= 0.82
|
|
|
|
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
|
|
|
|
# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
|
|
|
@ -48,7 +50,7 @@ Requires: perl-Pod-Perldoc
|
|
|
|
Requires: perl(Pod::Text) >= 4
|
|
|
|
Requires: perl(Pod::Text) >= 4
|
|
|
|
|
|
|
|
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(File::Spec\\)$
|
|
|
|
%global __requires_exclude %{?__requires_exclude|%{__requires_exclude}|}^perl\\(File::Spec\\)$
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
pod2usage will print a usage message for the invoking script (using its
|
|
|
|
pod2usage will print a usage message for the invoking script (using its
|
|
|
@ -63,30 +65,67 @@ verbose level is 2, then the entire manual page is printed.
|
|
|
|
%setup -q -n Pod-Usage-%{version}
|
|
|
|
%setup -q -n Pod-Usage-%{version}
|
|
|
|
# Remove bundled modules
|
|
|
|
# Remove bundled modules
|
|
|
|
rm -rf t/inc
|
|
|
|
rm -rf t/inc
|
|
|
|
sed -i -e '/^t\/inc\//d' MANIFEST
|
|
|
|
perl -i -ne 'print $_ unless m{^t/inc/}' MANIFEST
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{make_install}
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc CHANGES README
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%doc Changes README
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.69-396
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4:2.01-4
|
|
|
|
- Rebuild with enable hardening (bug #1636329)
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4:2.01-3
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4:2.01-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 14 2020 Petr Pisar <ppisar@redhat.com> - 4:2.01-1
|
|
|
|
|
|
|
|
- 2.01 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.70-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.70-2
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 16 2020 Petr Pisar <ppisar@redhat.com> - 4:1.70-1
|
|
|
|
|
|
|
|
- 1.70 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-440
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-439
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.69-438
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-418
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-417
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.69-416
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-395
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.69-395
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|