Name: perl-Test-Lib Version: 0.003 Release: 3%{?dist} Summary: Use libraries from a t/lib directory License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Lib Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Lib-%{version}.tar.gz BuildArch: noarch # build dependencies BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # runtime dependencies BuildRequires: perl(Cwd) BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(strict) BuildRequires: perl(warnings) # test dependencies BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version)) %{?perl_default_filter} %description Searches upward from the calling module for a directory t with a lib directory inside it, and adds it to the module search path. Looks upward up to 5 directories. This is intended to be used in test modules either directly in t or in a sub-directory to find their included testing libraries located in t/lib. %prep %setup -q -n Test-Lib-%{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 * Fri Jul 22 2022 Fedora Release Engineering - 0.003-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 06 2022 Jitka Plesnikova - 0.003-2 - Perl 5.36 re-rebuild of bootstrapped packages * Sun Jun 05 2022 Emmanuel Seyman - 0.003-1 - Update to 0.003 * Mon May 30 2022 Jitka Plesnikova - 0.002-5 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.002-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.002-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.002-2 - Perl 5.34 rebuild * Sun Apr 18 2021 Emmanuel Seyman 0.002-1 - Initial specfile, based on the one autogenerated by cpanspec 1.78.