[packages/python-PyGitUp] - disabled tests by default (they need git configured for user)
qboosh
qboosh at pld-linux.org
Fri Mar 22 05:29:10 CET 2019
commit 7c720dc39cf458ea68b78c3f40d2823cf8c3aa81
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 22 05:35:05 2019 +0100
- disabled tests by default (they need git configured for user)
python-PyGitUp.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-PyGitUp.spec b/python-PyGitUp.spec
index f4f608e..22cbf0d 100644
--- a/python-PyGitUp.spec
+++ b/python-PyGitUp.spec
@@ -2,7 +2,7 @@
# Conditional build:
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
-%bcond_without tests # unit tests
+%bcond_with tests # unit tests (need git configured for user)
%define module PyGitUp
Summary: git-up(1) - fetch and rebase all locally-tracked remote branches
@@ -16,6 +16,7 @@ Group: Libraries/Python
Source0: https://github.com/msiemens/PyGitUp/archive/v%{version}/%{module}-v%{version}.tar.gz
# Source0-md5: 8573a0c48aa0afa6dddae51d1cd204c1
URL: https://github.com/msiemens/PyGitUp
+%{?with_tests:BuildRequires: git-core}
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-PyGitUp.git/commitdiff/7c720dc39cf458ea68b78c3f40d2823cf8c3aa81
More information about the pld-cvs-commit
mailing list