From 06c4d674de807b848d9d0eda20de9320c38d1b3e Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 9 Oct 2013 14:43:39 +0200 Subject: [PATCH] Use bconds for enabling testsuite --- swig.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/swig.spec b/swig.spec index b6cd0da..90bf0eb 100644 --- a/swig.spec +++ b/swig.spec @@ -1,3 +1,6 @@ +# We can skip tests +%bcond_without testsuite + %{!?tcl:%define tcl 1} %{!?guile:%define guile 1} @@ -10,7 +13,7 @@ Summary: Connects C/C++/Objective C to some high-level programming languages Name: swig Version: 2.0.11 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ and BSD Group: Development/Tools URL: http://swig.sourceforge.net/ @@ -80,8 +83,10 @@ done ; make %{?_smp_mflags} +%if %{with testsuite} # Test suite make check +%endif %install # Remove all arch dependent files in Examples/ created during tests @@ -122,6 +127,9 @@ gzip %{buildroot}%{_mandir}/man1/$(basename %{SOURCE1}) %doc Doc Examples LICENSE LICENSE-GPL LICENSE-UNIVERSITIES COPYRIGHT %changelog +* Wed Oct 09 2013 Jitka Plesnikova - 2.0.11-2 +- Use bconds for enabling testsuite + * Mon Sep 16 2013 Jitka Plesnikova - 2.0.11-1 - Update to 2.0.11