diff --git a/inc-latest-0.500.tar.gz b/inc-latest-0.500.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d98d65121dd97e0119c8b01d968e8e6d0bb166bc Binary files /dev/null and b/inc-latest-0.500.tar.gz differ diff --git a/perl-inc-latest.spec b/perl-inc-latest.spec new file mode 100644 index 0000000000000000000000000000000000000000..75075416d4f71b9440ffd1b953438ccd3695e93e --- /dev/null +++ b/perl-inc-latest.spec @@ -0,0 +1,52 @@ +%define anolis_release 1 + +Name: perl-inc-latest +Epoch: 2 +Version: 0.500 +Release: %{anolis_release}%{?dist} +Summary: Use modules bundled in inc/ if they are newer than installed ones +License: ASL 2.0 +URL: https://metacpan.org/release/inc-latest +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/inc-latest-%{version}.tar.gz +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(ExtUtils::Installed) +Conflicts: perl-Module-Build < 2:0.42.10-4 + +%description +The inc::latest module helps bootstrap configure-time dependencies for CPAN +distributions. These dependencies get bundled into the inc directory within +a distribution and are used by Makefile.PL or Build.PL. + +%prep +%setup -q -n inc-latest-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Apr 20 2022 zhang xianting - 2:0.500-1 +- Initial build for Anolis V23