]> git.pld-linux.org Git - packages/git-core.git/commitdiff
- disable cvs tests by default auto/th/git-core-1_6_5-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 11 Oct 2009 16:31:02 +0000 (16:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    git-core.spec -> 1.173

git-core.spec

index 537e53cade4af8eb3569cb94c3cda10249015548..9fc5aea609e58c3c8833258b6d9ec624bb952716 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without tests   # don't perform make test
+%bcond_with            tests_cvs
 %bcond_without doc     # skip building/packaging docs/manuals (takes some time)
 #
 %include       /usr/lib/rpm/macros.perl
@@ -37,9 +38,11 @@ BuildRequires:       asciidoc >= 7.1.2-3
 BuildRequires: xmlto
 %endif
 %if %{with tests}
+%if %{with tests_cvs}
 # tests failed sometimes when using nserver/cvsnt client so enforce pure cvs here
 BuildRequires: cvs-gnu-client < 1.13
 BuildRequires: cvs-gnu-client >= 1.12
+%endif
 BuildRequires: pdksh >= 5.2.14-46
 %endif
 Requires:      coreutils
@@ -318,7 +321,12 @@ Ta wtyczka dostarcza podświetlanie składni dla treści commitów gita.
 
 %{?with_doc:%{__make} -C Documentation}
 
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%if %{without tests_cvs}
+rm t/t*cvs*.sh
+%endif
+%{__make} test
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.252193 seconds and 4 git commands to generate.