Declare optional tests

This commit is contained in:
Petr Písař 2014-02-19 13:28:16 +01:00
parent f9dbe7ed2c
commit b66addec02

View File

@ -1,6 +1,6 @@
Name: perl-threads-shared
Version: 1.46
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Perl extension for sharing data structures between threads
License: GPL+ or Artistic
Group: Development/Libraries
@ -21,8 +21,10 @@ BuildRequires: perl(XSLoader)
# Tests:
BuildRequires: perl(ExtUtils::testlib)
BuildRequires: perl(File::Path)
BuildRequires: perl(POSIX)
BuildRequires: perl(Test::More)
# Optional tests:
BuildRequires: perl(POSIX)
BuildRequires: perl(Time::HiRes)
# Win32 not needed
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
@ -60,6 +62,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed Feb 19 2014 Petr Pisar <ppisar@redhat.com> - 1.46-2
- Declare optional tests
* Wed Feb 05 2014 Petr Pisar <ppisar@redhat.com> - 1.46-1
- 1.46 bump