[packages/perl-Locale-Codes] - added tests BRs but disabled tests due to test suite config being broken

baggins baggins at pld-linux.org
Thu Dec 5 00:48:08 CET 2019


commit 981b020d9d3b7e37550170985fe0360b3849e392
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Dec 5 00:47:36 2019 +0100

    - added tests BRs but disabled tests due to test suite config being broken

 perl-Locale-Codes.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/perl-Locale-Codes.spec b/perl-Locale-Codes.spec
index 5eb9681..1fcb77e 100644
--- a/perl-Locale-Codes.spec
+++ b/perl-Locale-Codes.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	tests	# do not perform "make test"
+%bcond_with	tests	# do not perform "make test"
 
 %define		pdir	Locale
 %define		pnam	Codes
@@ -33,6 +33,12 @@ Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version
 URL:		http://search.cpan.org/dist/Locale-Codes/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-File-Find-Rule
+BuildRequires:	perl-Test-Inter
+BuildRequires:	perl-Test-Pod
+BuildRequires:	perl-Test-Pod-Coverage
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Locale-Codes.git/commitdiff/981b020d9d3b7e37550170985fe0360b3849e392



More information about the pld-cvs-commit mailing list