]> git.pld-linux.org Git - packages/python-pycosat.git/commitdiff
update BR
authorElan Ruusamäe <glen@delfi.ee>
Sun, 2 Dec 2018 12:15:01 +0000 (14:15 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 2 Dec 2018 12:15:56 +0000 (14:15 +0200)
- python-devel -- pycosat.c:10:10: fatal error: Python.h: No such file or directory
- python-pytest -- /var/tmp/rpm-tmp.47927[35]: py.test-2: not found

python-pycosat.spec

index 0c84996e331a95ff608ca858183e6b47cf9e2e5c..9a3da6323d0bec2da52e1ab3d0881f5451635e5b 100644 (file)
@@ -20,14 +20,20 @@ BuildRequires:      picosat-devel
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
 %if %{with python2}
+BuildRequires: python-devel
 BuildRequires: python-modules
 BuildRequires: python-setuptools
+%if %{with tests}
+BuildRequires: python-pytest
+%endif
 %endif
 %if %{with python3}
 BuildRequires: python3-devel
 BuildRequires: python3-modules
-BuildRequires: python3-pytest
 BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-pytest
+%endif
 %endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.103547 seconds and 4 git commands to generate.