]> git.pld-linux.org Git - packages/cvs-fast-export.git/commitdiff
add bcond to run regression tests
authorElan Ruusamäe <glen@delfi.ee>
Tue, 7 Oct 2014 18:12:13 +0000 (21:12 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 7 Oct 2014 18:12:13 +0000 (21:12 +0300)
disabled as tests not included in tarball

cvs-fast-export.spec

index 5fb87c422a3e531482c1bcb51f33176ffbf2e9f5..c6950fb1542ab6aaf110788f5d4506815dee5288 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    tests           # build without tests
+
 Summary:       Tool to export CVS history into a fast-import stream
 Name:          cvs-fast-export
 Version:       1.14
@@ -29,6 +33,8 @@ includes cvssync, a tool for mirroring masters from remote CVS hosts.
        EXTRA_CFLAGS="%{rpmcflags}" \
        LDFLAGS="%{rpmldflags}"
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
This page took 0.150589 seconds and 4 git commands to generate.