diff --git a/ExtUtils-InstallPaths-0.012.tar.gz b/ExtUtils-InstallPaths-0.012.tar.gz new file mode 100644 index 0000000..a2198ea Binary files /dev/null and b/ExtUtils-InstallPaths-0.012.tar.gz differ diff --git a/perl-ExtUtils-InstallPaths.spec b/perl-ExtUtils-InstallPaths.spec new file mode 100644 index 0000000..49ce9b1 --- /dev/null +++ b/perl-ExtUtils-InstallPaths.spec @@ -0,0 +1,44 @@ +Name: perl-ExtUtils-InstallPaths +Version: 0.012 +Release: 9 +Summary: Build.PL install path logic made easy +License: GPL+ or Artistic +URL: https://metacpan.org/release/ExtUtils-InstallPaths +Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-InstallPaths-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils findutils make perl-generators +BuildRequires: perl-interpreter perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::Config) +Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) + +%description +This package contains the module of ExtUtils::InstallPaths that contains the +Build.PL file which could make install path easy. + +%package_help + +%prep +%autosetup -n ExtUtils-InstallPaths-%{version} -p1 + +%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 +%{_mandir}/man3/ExtUtils::InstallPaths.3* + +%changelog +* Sat Feb 29 2020 openEuler Buildteam - 0.012-9 +- Package init