Browse code

Add %check for python-backports_abc

Change-Id: Ic4aa62fa340675b6400f711d1d26abcfd48c25f9
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6285
Tested-by: michellew <michellew@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

ashwin-h authored on 2018/12/05 03:19:37
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 
3 3
 Name:           python-backports_abc
4 4
 Version:        0.5
5
-Release:        1%{?dist}
5
+Release:        2%{?dist}
6 6
 Summary:        A backport of recent additions to the 'collections.abc' module.
7 7
 License:        PSFL
8 8
 Group:          Development/Languages/Python
... ...
@@ -33,10 +33,15 @@ python2 setup.py build
33 33
 %install
34 34
 python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
35 35
 
36
+%check
37
+python2 tests.py
38
+
36 39
 %files
37 40
 %defattr(-,root,root,-)
38 41
 %{python2_sitelib}/*
39 42
 
40 43
 %changelog
44
+*   Tue Dec 04 2018 Ashwin H <ashwinh@vmware.com> 0.5-2
45
+-   Add %check
41 46
 *   Wed Nov 29 2017 Padmini Thirumalachar <pthirumalachar@vmware.com> 0.5-1
42 47
 -   Initial version of python backports_abc for PhotonOS.