Revert changes in check

This commit is contained in:
yixiangzhike 2021-02-02 10:56:39 +08:00
parent 3212abe599
commit e5e89893a5

View File

@ -1,13 +1,12 @@
Name: pyxattr
Summary: Extended attributes library wrapper for Python
Version: 0.7.2
Release: 1
Release: 2
License: LGPLv2+
URL: http://pyxattr.k1024.org/
Source: https://pyxattr.k1024.org/downloads/%{name}-%{version}.tar.gz
BuildRequires: gcc libattr-devel python3-devel python3-setuptools
BuildRequires: python3-pytest
%description
This is the pyxattr module, a Python extension module which gives access to
@ -34,9 +33,9 @@ cp -a . %{py3dir}
%py3_install
%check
export TEST_IGNORE_XATTRS=security.selinux
export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH
%{__python3} -m pytest tests
#pushd %%{py3dir}
#%%{__python3} setup.py test
#popd
%files -n python3-%{name}
%{python3_sitearch}/*.so
@ -46,6 +45,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH
%doc NEWS README.md
%changelog
* Tue Feb 2 2021 zhangxingliang <zhangxingliang3@huawei.com> - 0.7.2-2
- revert changes in check
* Tue Jan 26 2021 zoulin <zoulin13@huawei.com> - 0.7.2-1
- update to 0.7.2