diff --git a/ExtUtils-Helpers-0.026.tar.gz b/ExtUtils-Helpers-0.026.tar.gz new file mode 100644 index 0000000..eea0343 Binary files /dev/null and b/ExtUtils-Helpers-0.026.tar.gz differ diff --git a/perl-ExtUtils-Helpers.spec b/perl-ExtUtils-Helpers.spec new file mode 100644 index 0000000..237a602 --- /dev/null +++ b/perl-ExtUtils-Helpers.spec @@ -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 - 0.026-13 +- Package init