[perl-threads-shared] Declare optional tests

Petr Pisar ppisar at fedoraproject.org
Wed Feb 19 12:28:41 UTC 2014


commit b66addec02936af109e2fccf3c8f57352ba4e9ee
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Feb 19 13:28:16 2014 +0100

    Declare optional tests

 perl-threads-shared.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-threads-shared.spec b/perl-threads-shared.spec
index 6c3aa85..e8db696 100644
--- a/perl-threads-shared.spec
+++ b/perl-threads-shared.spec
@@ -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 at redhat.com> - 1.46-2
+- Declare optional tests
+
 * Wed Feb 05 2014 Petr Pisar <ppisar at redhat.com> - 1.46-1
 - 1.46 bump
 


More information about the scm-commits mailing list