Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
20bfdd0509
!22 [sync] PR-21: check if the build environment supports attr before executing test
From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2023-07-12 01:19:47 +00:00
fly_fzc
8732c5f0de check if the build environment supports attr before executing test
(cherry picked from commit 5d1b35861a199a1a81d065ee25d83bc23fe2974d)
2023-07-11 16:38:07 +08:00
openeuler-ci-bot
67755d007d
!16 [sync] PR-13: make the test check
From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2023-03-29 06:26:08 +00:00
zhuofeng
ab447c12bb make the test check
Signed-off-by: zhuofeng <zhuofeng2@huawei.com>
(cherry picked from commit d8aa74103cbf20956b5e04eaaeb3e4e7f66c6f51)
2023-03-29 11:05:04 +08:00
openeuler-ci-bot
ba81f62229
!10 【轻量级 PR】:rebuild for next release
From: @zhuofeng6 
Reviewed-by: @lvying6 
Signed-off-by: @lvying6
2022-10-28 01:45:36 +00:00
zhuofeng
251eecf8f5
update for mass rebuild and upgrade verification
Signed-off-by: zhuofeng <zhuofeng2@huawei.com>
2022-10-26 07:11:42 +00:00
openeuler-ci-bot
bf4b99bbb9 !7 【Mainline】Revert changes in check
From: @yixiangzhike
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-02-02 21:01:29 +08:00
yixiangzhike
e5e89893a5 Revert changes in check 2021-02-02 10:56:39 +08:00
openeuler-ci-bot
3212abe599 !6 update version to 0.7.2
From: @zou_lin77
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-01-26 18:49:30 +08:00
zou_lin77
ffb77ca239 update version to 0.7.2 2021-01-26 11:55:06 +08:00
3 changed files with 34 additions and 8 deletions

Binary file not shown.

BIN
pyxattr-0.7.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,12 @@
Name: pyxattr
Summary: Extended attributes library wrapper for Python
Version: 0.7.1
Release: 1
Version: 0.7.2
Release: 5
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: gcc libattr-devel python3-devel python3-setuptools python3-pytest
%description
This is the pyxattr module, a Python extension module which gives access to
@ -33,9 +33,17 @@ cp -a . %{py3dir}
%py3_install
%check
#pushd %{py3dir}
#%{__python3} setup.py test
#popd
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
%files -n python3-%{name}
%{python3_sitearch}/*.so
@ -45,10 +53,28 @@ cp -a . %{py3dir}
%doc NEWS README.md
%changelog
* Wed Jul 29 2020 zhangxingliang <zhangxingliang@hauwei.com> - 0.7.1-1
* 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
- update to 0.7.1
* Tue Jul 7 2020 Liquor <lirui130@hauwei.com> - 0.6.1-2
* Tue Jul 7 2020 Liquor <lirui130@huawei.com> - 0.6.1-2
- cancel the check
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6.1-1