]> git.pld-linux.org Git - packages/swish-e.git/commitdiff
- added tests bcond auto/th/swish-e-2.7.0-0.20140914.2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 16 Sep 2014 20:21:16 +0000 (22:21 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 16 Sep 2014 20:21:16 +0000 (22:21 +0200)
-rel 2

swish-e.spec

index f94c19fb58d2566cc9988e577236a08322f96ce9..48be7dd63643342af87121df4c4c51679d1b70a2 100644 (file)
@@ -1,3 +1,6 @@
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
 %define                snap    2014-09-14
 %define                snapver %(echo %{snap} | tr -d '-')
 %include       /usr/lib/rpm/macros.perl
@@ -5,7 +8,7 @@ Summary:        Simple Web Indexing System for Humans - Enhanced
 Summary(pl.UTF-8):     Prosty system indeksowania stron WWW - wersja rozszerzona
 Name:          swish-e
 Version:       2.7.0
-Release:       0.%{snapver}.1
+Release:       0.%{snapver}.2
 License:       GPL/LGPL
 Group:         Applications/Text
 #Source0:      http://swish-e.org/distribution/%{name}-%{version}.tar.gz
@@ -151,7 +154,7 @@ Biblioteka statyczna dla swish-e.
 %configure \
        --with-pcre
 %{__make}
-%{__make} test
+%{?with_tests:%{__make} test}
 
 cd perl
 echo skip | \
@@ -165,7 +168,7 @@ echo skip | \
        SWISHBINDIR=../src
 
 %{__make}
-%{__make} test
+%{?with_tests:%{__make} test}
 cd ..
 
 %install
This page took 0.095428 seconds and 4 git commands to generate.