commit 32c360159f4208962fae0a7c350e91d8c060846b Author: MSVSphere Packaging Team Date: Wed Jan 10 03:22:42 2024 +0300 import perl-Test-Needs-0.002009-2.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1625d93 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Test-Needs-0.002009.tar.gz diff --git a/.perl-Test-Needs.metadata b/.perl-Test-Needs.metadata new file mode 100644 index 0000000..42b02f0 --- /dev/null +++ b/.perl-Test-Needs.metadata @@ -0,0 +1 @@ +249b163e33e03b13fda3c6b83fb2bbac41661fed SOURCES/Test-Needs-0.002009.tar.gz diff --git a/SPECS/perl-Test-Needs.spec b/SPECS/perl-Test-Needs.spec new file mode 100644 index 0000000..d345497 --- /dev/null +++ b/SPECS/perl-Test-Needs.spec @@ -0,0 +1,120 @@ +Name: perl-Test-Needs +Version: 0.002009 +Release: 2%{?dist} +Summary: Skip tests when modules not available +License: GPL+ or Artistic + +URL: https://metacpan.org/release/Test-Needs +Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::More) >= 0.45 +BuildRequires: perl(Test2::API) +BuildRequires: perl(Test2::Event) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +BuildRequires: perl(version) +BuildRequires: perl(warnings) + +Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Skip test scripts if modules are not available. The requested modules will +be loaded, and optionally have their versions checked. If the module is +missing, the test script will be skipped. Modules that are found but fail +to compile will exit with an error rather than skip. + +%prep +%setup -q -n Test-Needs-%{version} + +%build +/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{make_build} test + +%files +%doc Changes README +%{perl_vendorlib}/Test* +%{_mandir}/man3/Test* + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 0.002009-2 +- Rebuilt for MSVSphere 9.3 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.002009-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Jun 06 2021 Emmanuel Seyman - 0.002009-1 +- Update to 0.002009 +- Use %%{make_install} instead of "make pure_install" +- Use %%{make_build} instead of make +- Replace %%{__perl} with /usr/bin/perl +- Pass NO_PERLLOCAL to Makefile.PL + +* Fri May 21 2021 Jitka Plesnikova - 0.002006-8 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.002006-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.002006-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 0.002006-5 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.002006-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.002006-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 0.002006-2 +- Perl 5.30 rebuild + +* Sun Apr 07 2019 Emmanuel Seyman - 0.002006-1 +- Update to 0.002006 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.002005-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.002005-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.002005-6 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.002005-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.002005-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.002005-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.002005-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Oct 02 2016 Emmanuel Seyman - 0.002005-1 +- Update to 0.002005 + +* Thu Aug 25 2016 Emmanuel Seyman - 0.002004-1 +- Update to 0.002004 + +* Fri Jun 10 2016 Emmanuel Seyman 0.002002-1 +- Specfile autogenerated by cpanspec 1.78.