Specify all dependencies

This commit is contained in:
Petr Písař 2020-02-06 14:59:14 +01:00
parent 98e2e4f6ef
commit f615eaad9a

View File

@ -2,7 +2,7 @@
Name: perl-threads
Epoch: 1
Version: 2.22
Release: 441%{?dist}
Release: 442%{?dist}
Summary: Perl interpreter-based threads
License: GPL+ or Artistic
URL: https://metacpan.org/release/threads
@ -26,6 +26,7 @@ BuildRequires: perl(Carp)
BuildRequires: perl(overload)
BuildRequires: perl(XSLoader)
# Tests only:
BuildRequires: perl(blib)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::testlib)
BuildRequires: perl(File::Path)
@ -66,6 +67,8 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
unset GIT_DIR PERL_BUILD_PACKAGING PERL_CORE PERL_RUNPERL_DEBUG \
PERL5_ITHREADS_STACK_SIZE RUN_MAINTAINER_TESTS
make test
%files
@ -75,6 +78,9 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Feb 06 2020 Petr Pisar <ppisar@redhat.com> - 1:2.22-442
- Specify all dependencies
* Thu Feb 06 2020 Tom Stellard <tstellar@redhat.com> - 1:2.22-441
- Spec file cleanups: Use make_build and make_install macros
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make