Change-Id: I808b48bcbb345ac42dca3c88c88ba1fed0d384db
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3263
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
| ... | ... |
@@ -4,7 +4,7 @@ |
| 4 | 4 |
Summary: Interface for Python to call C code |
| 5 | 5 |
Name: python-cffi |
| 6 | 6 |
Version: 1.10.0 |
| 7 |
-Release: 2%{?dist}
|
|
| 7 |
+Release: 3%{?dist}
|
|
| 8 | 8 |
Url: https://pypi.python.org/pypi/cffi |
| 9 | 9 |
License: MIT |
| 10 | 10 |
Group: Development/Languages/Python |
| ... | ... |
@@ -19,6 +19,10 @@ BuildRequires: python2-devel |
| 19 | 19 |
BuildRequires: python-setuptools |
| 20 | 20 |
BuildRequires: libffi-devel |
| 21 | 21 |
BuildRequires: python-pycparser |
| 22 |
+%if %{with_check}
|
|
| 23 |
+BuildRequires: python-py |
|
| 24 |
+BuildRequires: python-pytest |
|
| 25 |
+%endif |
|
| 22 | 26 |
Requires: python2 |
| 23 | 27 |
Requires: python2-libs |
| 24 | 28 |
Requires: python-pycparser |
| ... | ... |
@@ -34,6 +38,10 @@ BuildRequires: python3-libs |
| 34 | 34 |
BuildRequires: python3-pycparser |
| 35 | 35 |
BuildRequires: python3-setuptools |
| 36 | 36 |
BuildRequires: python3-xml |
| 37 |
+%if %{with_check}
|
|
| 38 |
+BuildRequires: python3-py |
|
| 39 |
+BuildRequires: python3-pytest |
|
| 40 |
+%endif |
|
| 37 | 41 |
Requires: python3 |
| 38 | 42 |
Requires: python3-libs |
| 39 | 43 |
Requires: python3-pycparser |
| ... | ... |
@@ -73,6 +81,8 @@ popd |
| 73 | 73 |
%{python3_sitelib}/*
|
| 74 | 74 |
|
| 75 | 75 |
%changelog |
| 76 |
+* Mon Jul 17 2017 Divya Thaluru <dthaluru@vmware.com> 1.10.0-3 |
|
| 77 |
+- Added build time dependecies required during check |
|
| 76 | 78 |
* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.10.0-2 |
| 77 | 79 |
- Add python3-setuptools and python3-xml to python3 sub package Buildrequires. |
| 78 | 80 |
* Mon Apr 03 2017 Rongrong Qiu <rqiu@vmware.com> 1.10.0-1 |