Init package

This commit is contained in:
xh 2025-04-07 09:18:16 +00:00
parent f48824adf8
commit 0a79551c11
3 changed files with 64 additions and 0 deletions

BIN
Devel-PatchPerl-2.08.tar.gz Normal file

Binary file not shown.

60
perl-Devel-PatchPerl.spec Normal file
View 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

View File

@ -0,0 +1,4 @@
version_control: metacpan
src_repo: Devel-PatchPerl
tag_prefix: ^v
separator: .