Blob Blame History Raw
Name:           perl-Test-Lib
Version:        0.002
Release:        2%{?dist}
Summary:        Use libraries from a t/lib directory
License:        GPL+ or Artistic


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))


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.

%setup -q -n Test-Lib-%{version}

/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1

%{_fixperms} $RPM_BUILD_ROOT/*

%{make_build} test

%doc Changes README

* 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.