From 78a5bc5edd3959d0daa8cb5b768134d2a4e2a160 Mon Sep 17 00:00:00 2001 From: markeryang Date: Sat, 5 Dec 2020 15:27:51 +0800 Subject: [PATCH] Add make_check --- python-olefile.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-olefile.spec b/python-olefile.spec index fc77858..4041db0 100644 --- a/python-olefile.spec +++ b/python-olefile.spec @@ -1,6 +1,6 @@ Name: python-olefile Version: 0.46 -Release: 3 +Release: 4 Summary: This Python package is used to parse, read and write Microsoft OLE2 files License: BSD URL: https://pypi.python.org/pypi/olefile/ @@ -31,6 +31,8 @@ Python3 version. %py3_install %check +PYTHONPATH=%{buildroot}%{python3_sitelib} \ +%{__python3} tests/test_olefile.py %files -n python%{python3_pkgversion}-olefile %doc README.md @@ -40,6 +42,9 @@ Python3 version. %changelog +* Sat Dec 5 2020 yanglongkang - 0.46-4 +- Add make check + * Fri Oct 30 2020 yanglongkang - 0.46-3 - remove python2 dependency