besser82 pushed to swig (f20). "Use bconds for enabling testsuite"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 2 08:48:44 UTC 2015


>From 06c4d674de807b848d9d0eda20de9320c38d1b3e Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 9 Oct 2013 14:43:39 +0200
Subject: Use bconds for enabling testsuite


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 <jplesnik at redhat.com> - 2.0.11-2
+- Use bconds for enabling testsuite
+
 * Mon Sep 16 2013 Jitka Plesnikova <jplesnik at redhat.com> - 2.0.11-1
 - Update to 2.0.11
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/swig.git/commit/?h=f20&id=06c4d674de807b848d9d0eda20de9320c38d1b3e


More information about the scm-commits mailing list