Browse code

add makecheck deps

Change-Id: I0f56c335e8684d422a14db9ba63b3ae34a28c175
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3497
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Rui Gu <ruig@vmware.com>

Priyesh Padmavilasom authored on 2017/08/11 17:33:53
Showing 1 changed files
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           pygobject
5 5
 Version:        3.24.1
6
-Release:        1%{?dist}
6
+Release:        2%{?dist}
7 7
 Summary:        Python Bindings for GObject
8 8
 Group:          Development/Languages
9 9
 License:        LGPLv2+
... ...
@@ -20,6 +20,12 @@ BuildRequires:  python2-libs
20 20
 BuildRequires:  gobject-introspection-devel
21 21
 BuildRequires:  glib-devel
22 22
 BuildRequires:  which
23
+%if %{with_check}
24
+BuildRequires:  gobject-introspection-python
25
+BuildRequires:  python3-test
26
+BuildRequires:  python2-test
27
+BuildRequires:  glib-schemas
28
+%endif
23 29
 
24 30
 %description
25 31
 Python bindings for GLib and GObject.
... ...
@@ -95,6 +101,8 @@ rm -rf %{buildroot}
95 95
 %{_includedir}/*
96 96
 
97 97
 %changelog
98
+*   Thu Aug 10 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.24.1-2
99
+-   Fix make check
98 100
 *   Fri Apr 14 2017 Xiaolin Li <xiaolinl@vmware.com> 3.24.1-1
99 101
 -   Updated to version 3.24.1 and added python3 package.
100 102
 *   Mon Oct 03 2016 ChangLee <changLee@vmware.com> 3.10.2-3