Add make_check

This commit is contained in:
markeryang 2020-12-05 15:27:51 +08:00
parent a05aab7ca1
commit 78a5bc5edd

View File

@ -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 <yanglongkang@huawei.com> - 0.46-4
- Add make check
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.46-3
- remove python2 dependency