!17 make the test check

From: @fly_fzc 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
This commit is contained in:
openeuler-ci-bot 2023-03-29 06:25:12 +00:00 committed by Gitee
commit ae30506002
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,12 @@
Name: pyxattr Name: pyxattr
Summary: Extended attributes library wrapper for Python Summary: Extended attributes library wrapper for Python
Version: 0.8.0 Version: 0.8.0
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 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
@ -33,9 +33,9 @@ cp -a . %{py3dir}
%py3_install %py3_install
%check %check
#pushd %%{py3dir} export TEST_IGNORE_XATTRS=security.selinux
#%%{__python3} setup.py test export PYTHONPATH=%{buildroot}%{python3_sitearch}
#popd %{__python3} -m pytest -v
%files -n python3-%{name} %files -n python3-%{name}
%{python3_sitearch}/*.so %{python3_sitearch}/*.so
@ -45,6 +45,9 @@ cp -a . %{py3dir}
%doc NEWS README.md %doc NEWS README.md
%changelog %changelog
* Wed Mar 29 2023 fuanan <fuanan3@h-partners.com> - 0.8.0-2
- make the test check
* Wed Feb 01 2023 fuanan <fuanan3@h-partners.com> - 0.8.0-1 * Wed Feb 01 2023 fuanan <fuanan3@h-partners.com> - 0.8.0-1
- update version to 0.8.0 - update version to 0.8.0