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