package init

This commit is contained in:
openeuler-basic 2020-02-29 13:13:45 +08:00
parent 9e371b1737
commit ec3e48ea34
2 changed files with 42 additions and 0 deletions

Binary file not shown.

42
perl-ExtUtils-Config.spec Normal file
View File

@ -0,0 +1,42 @@
Name: perl-ExtUtils-Config
Version: 0.008
Release: 19
Summary: A wrapper for perl's configuration
License: GPL+ or Artistic
URL: https://metacpan.org/release/ExtUtils-Config
Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-Config-%{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 module that provides a wrapper for perl's configuration.
%package_help
%prep
%autosetup -n ExtUtils-Config-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%{perl_vendorlib}/ExtUtils/
%files help
%doc Changes README
%{_mandir}/man3/ExtUtils::Config.3*
%changelog
* Sat Feb 29 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.008-19
- Package init