rpms/bash-completion/devel bash-completion.spec,1.50,1.51
Ville Skyttä
scop at fedoraproject.org
Fri Jun 18 05:30:06 UTC 2010
Author: scop
Update of /cvs/pkgs/rpms/bash-completion/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21931
Modified Files:
bash-completion.spec
Log Message:
Disable test suite by default for now.
Index: bash-completion.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bash-completion/devel/bash-completion.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -p -r1.50 -r1.51
--- bash-completion.spec 17 Jun 2010 21:27:27 -0000 1.50
+++ bash-completion.spec 18 Jun 2010 05:30:05 -0000 1.51
@@ -1,3 +1,6 @@
+# Expected failures in mock, hangs in koji
+%bcond_with tests
+
Name: bash-completion
Version: 1.2
Release: 1%{?dist}
@@ -12,9 +15,11 @@ Source1: %{name}-plague-client
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+%if %{with tests}
BuildRequires: dejagnu
BuildRequires: screen
BuildRequires: tcllib
+%endif
Requires: bash >= 3.2
# For symlinking in triggers, #490768
Requires: coreutils
@@ -103,6 +108,7 @@ done
cd -
+%if %{with tests}
%check
# Should be done/fixed upstream
mkdir test/log test/tmp
@@ -114,7 +120,8 @@ screen -D -m sh -c '( make check ; echo
cat $tmpfile
result=$(tail -n 1 $tmpfile)
rm -f $tmpfile
-exit 0 # $result, but we have some pretty certain failures in mock for now...
+exit $result
+%endif
%clean
More information about the scm-commits
mailing list