61 lines
1.6 KiB
RPMSpec
61 lines
1.6 KiB
RPMSpec
Name: perl-Devel-PatchPerl
|
|
Version: 2.08
|
|
Release: 1
|
|
Summary: Patch perl source a la Devel::PPPort's buildperl.pl
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
URL: https://metacpan.org/release/Devel-PatchPerl
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Devel-PatchPerl-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
# Build
|
|
BuildRequires: make coreutils perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(strict) perl(warnings)
|
|
# Runtime
|
|
BuildRequires: perl(constant) perl(File::pushd) >= 1.00 perl(File::Spec) perl(Getopt::Long)
|
|
BuildRequires: perl(IO::File) perl(MIME::Base64) perl(Module::Pluggable) perl(vars)
|
|
# Tests only
|
|
BuildRequires: perl(lib)
|
|
# Pod::Coverage::TrustPod not used
|
|
BuildRequires: perl(Test::More)
|
|
# Test::Pod not used
|
|
# Test::Pod::Coverage not used
|
|
Requires: patch
|
|
Requires: perl(ExtUtils::MakeMaker)
|
|
Requires: perl(File::pushd) >= 1.00
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::pushd\\)$
|
|
|
|
%description
|
|
Devel::PatchPerl is a modularization of the patching code contained in
|
|
Devel::PPPort's buildperl.pl.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%setup -q -n Devel-PatchPerl-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
%{make_build}
|
|
|
|
%install
|
|
%{make_install}
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_bindir}/*
|
|
%{perl_vendorlib}/*
|
|
|
|
%files help
|
|
%doc Changes README
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Mon Apr 07 2025 xinghe <xinghe2@h-partners.com> - 2.08-1
|
|
- Init package
|