[packages/python-gevent] BR: python-devel-src for tests

jajcus jajcus at pld-linux.org
Sat Feb 22 17:29:41 CET 2014


commit 7c3f7ce615413833a004d6a70a2af406c7983480
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Feb 22 17:01:00 2014 +0100

    BR: python-devel-src for tests
    
    test_subproces.py requires python modules source code

 python-gevent.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-gevent.spec b/python-gevent.spec
index b034369..5a59464 100644
--- a/python-gevent.spec
+++ b/python-gevent.spec
@@ -19,8 +19,11 @@ Source0:	http://pypi.python.org/packages/source/g/gevent/%{module}-%{version}.ta
 Source1:	known_failures-pld.txt
 BuildRequires:	libevent-devel >= 1.4.0
 BuildRequires:	python-devel
-%{?with_tests:BuildRequires: python-greenlet >= 0.3.2}
-%{?with_tests:BuildRequires: python-test}
+%if %{with tests}
+BuildRequires: python-greenlet >= 0.3.2
+BuildRequires: python-test
+BuildRequires: python-devel-src
+%endif
 BuildRequires:	rpm-pythonprov
 Requires:	python-greenlet >= 0.3.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-gevent.git/commitdiff/907aafc6d645c30a544f444fe991c1d0609e1b6f



More information about the pld-cvs-commit mailing list