Compare commits

..

No commits in common. "20bfdd0509733337395a21861269281387c4b8ec" and "6bd4b463f4641c9235cefd92c58c082014647617" have entirely different histories.

3 changed files with 8 additions and 34 deletions

BIN
pyxattr-0.7.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,12 +1,12 @@
Name: pyxattr
Summary: Extended attributes library wrapper for Python
Version: 0.7.2
Release: 5
Version: 0.7.1
Release: 1
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 python3-pytest
BuildRequires: gcc libattr-devel python3-devel python3-setuptools
%description
This is the pyxattr module, a Python extension module which gives access to
@ -33,17 +33,9 @@ cp -a . %{py3dir}
%py3_install
%check
touch check-xattr-support
if ! attr -s test -V test check-xattr-support >& /dev/null ;then
echo "skipping tests because BUILD_FILE seem to lack xattr support"
else
export TEST_IGNORE_XATTRS=security.selinux
export PYTHONPATH=%{buildroot}%{python3_sitearch}
%{__python3} -m pytest -v
fi
rm -rf check-xattr-support
#pushd %{py3dir}
#%{__python3} setup.py test
#popd
%files -n python3-%{name}
%{python3_sitearch}/*.so
@ -53,28 +45,10 @@ rm -rf check-xattr-support
%doc NEWS README.md
%changelog
* Tue Jul 11 2023 fuanan <fuanan3@h-partners.com> - 0.7.2-5
- check if the build environment supports attr before executing test
* Fri Dec 23 2022 zhuofeng <zhuofeng2@huawei.com> - 0.7.2-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:make the test check
* Wed Oct 26 2022 zhuofeng <zhuofeng2@huawei.com> - 0.7.2-3
- rebuild for next release
* 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
* Wed Jul 29 2020 zhangxingliang <zhangxingliang3@huawei.com> - 0.7.1-1
* Wed Jul 29 2020 zhangxingliang <zhangxingliang@hauwei.com> - 0.7.1-1
- update to 0.7.1
* Tue Jul 7 2020 Liquor <lirui130@huawei.com> - 0.6.1-2
* Tue Jul 7 2020 Liquor <lirui130@hauwei.com> - 0.6.1-2
- cancel the check
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6.1-1