!7 【Mainline】Revert changes in check
From: @yixiangzhike Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
bf4b99bbb9
12
pyxattr.spec
12
pyxattr.spec
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user