48 lines
1.2 KiB
RPMSpec
48 lines
1.2 KiB
RPMSpec
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
|