|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: perl-Test-Needs
|
|
|
|
Name: perl-Test-Needs
|
|
|
|
Version: 0.002006
|
|
|
|
Version: 0.002009
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Skip tests when modules not available
|
|
|
|
Summary: Skip tests when modules not available
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
@ -36,15 +36,15 @@ to compile will exit with an error rather than skip.
|
|
|
|
%setup -q -n Test-Needs-%{version}
|
|
|
|
%setup -q -n Test-Needs-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
%{make_build} test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README
|
|
|
@ -52,6 +52,13 @@ make test
|
|
|
|
%{_mandir}/man3/Test*
|
|
|
|
%{_mandir}/man3/Test*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Jun 06 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 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 <jplesnik@redhat.com> - 0.002006-8
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.002006-8
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|