commit 50312c499c70f73ec1c3621f026260c8134c43d0 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:12:51 2019 -0400 Package init diff --git a/Module-CoreList-5.20180920.tar.gz b/Module-CoreList-5.20180920.tar.gz new file mode 100644 index 0000000..89e9f54 Binary files /dev/null and b/Module-CoreList-5.20180920.tar.gz differ diff --git a/perl-Module-CoreList.spec b/perl-Module-CoreList.spec new file mode 100644 index 0000000..680db1d --- /dev/null +++ b/perl-Module-CoreList.spec @@ -0,0 +1,55 @@ +Name: perl-Module-CoreList +Epoch: 1 +Version: 5.20180920 +Release: 2 +Summary: what modules shipped with versions of perl +License: GPL+ or Artistic +URL: https://metacpan.org/release/Module-CoreList +Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl perl-generators perl-interpreter perl(Config) perl(List::Util) perl(strict) +BuildRequires: perl(version) perl(ExtUtils::MakeMaker) perl(warnings) perl(Test::More) make +Requires: perl(List::Util) perl(version) perl(feature) perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Provides: perl-Module-CoreList-tools +Obsoletes: perl-Module-CoreList-tools + +%description +Module::CoreList provides information on which core and dual-life modules shipped with each +version of perl. It provides a number of mechanisms for querying this information. There is +a utility called corelist provided with this module which is a convenient way of querying +from the command-line. There is a functional programming API available for programmers to +query information. Programmers may also query the contained hash structures to find relevant +information. + +%package_help + +%prep +%autosetup -n Module-CoreList-%{version} -p1 + +%build +perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root) +%doc README Changes +%{_bindir}/corelist +%{perl_vendorlib}/* + +%files help +%defattr(-,root,root) +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Wed Sep 11 2019 openEuler Buildteam - 1:5.20180920-2 +- Package init +