package init

This commit is contained in:
openeuler-basic 2020-02-29 13:11:29 +08:00
parent d10a668dcf
commit adb00283fd
2 changed files with 47 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,47 @@
Name: perl-ExtUtils-Helpers
Version: 0.026
Release: 13
Summary: Various portability utilities for module builders
License: GPL+ or Artistic
URL: https://metacpan.org/release/ExtUtils-Helpers
Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-Helpers-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-generators perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
%description
This package contains the various portability utilities for module builders.
%package_help
%prep
%autosetup -n ExtUtils-Helpers-%{version} -p1
# We Don't include VMS and Windows helpers
rm -f lib/ExtUtils/Helpers/{VMS,Windows}.pm
perl -ni -e 'print unless /^lib\/ExtUtils\/Helpers\/(VMS|Windows)\.pm$/;' MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license LICENSE
%{perl_vendorlib}/ExtUtils/
%files help
%doc Changes README
%{_mandir}/man3/ExtUtils::Helpers.3*
%{_mandir}/man3/ExtUtils::Helpers::Unix.3*
%changelog
* Sat Feb 29 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.026-13
- Package init