[packages/wlc] test deps

glen glen at pld-linux.org
Tue Sep 6 17:41:24 CEST 2016


commit 7c27a809de3b163ac1cb883f77a5d74ec958fa71
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 6 18:41:19 2016 +0300

    test deps

 wlc.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/wlc.spec b/wlc.spec
index bbda95a..d01fb51 100644
--- a/wlc.spec
+++ b/wlc.spec
@@ -14,10 +14,12 @@ Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/w/%{module}/%{module}-%{version}.tar.gz
 # Source0-md5:	15a3a221938aa4ef75698aed72ffd0be
 URL:		https://weblate.org/
-BuildRequires:	python3-devel
 BuildRequires:	python3-setuptools
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
+%if %{with tests}
+BuildRequires:	python3-httpretty
+%endif
 Requires:	python3-setuptools
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wlc.git/commitdiff/7c27a809de3b163ac1cb883f77a5d74ec958fa71



More information about the pld-cvs-commit mailing list