Init package
This commit is contained in:
parent
f48824adf8
commit
0a79551c11
BIN
Devel-PatchPerl-2.08.tar.gz
Normal file
BIN
Devel-PatchPerl-2.08.tar.gz
Normal file
Binary file not shown.
60
perl-Devel-PatchPerl.spec
Normal file
60
perl-Devel-PatchPerl.spec
Normal file
@ -0,0 +1,60 @@
|
||||
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
|
||||
4
perl-Devel-PatchPerl.yaml
Normal file
4
perl-Devel-PatchPerl.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: metacpan
|
||||
src_repo: Devel-PatchPerl
|
||||
tag_prefix: ^v
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user