Compare commits
10 Commits
6bd4b463f4
...
20bfdd0509
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20bfdd0509 | ||
|
|
8732c5f0de | ||
|
|
67755d007d | ||
|
|
ab447c12bb | ||
|
|
ba81f62229 | ||
|
|
251eecf8f5 | ||
|
|
bf4b99bbb9 | ||
|
|
e5e89893a5 | ||
|
|
3212abe599 | ||
|
|
ffb77ca239 |
Binary file not shown.
BIN
pyxattr-0.7.2.tar.gz
Normal file
BIN
pyxattr-0.7.2.tar.gz
Normal file
Binary file not shown.
42
pyxattr.spec
42
pyxattr.spec
@ -1,12 +1,12 @@
|
|||||||
Name: pyxattr
|
Name: pyxattr
|
||||||
Summary: Extended attributes library wrapper for Python
|
Summary: Extended attributes library wrapper for Python
|
||||||
Version: 0.7.1
|
Version: 0.7.2
|
||||||
Release: 1
|
Release: 5
|
||||||
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,17 @@ cp -a . %{py3dir}
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
#pushd %{py3dir}
|
touch check-xattr-support
|
||||||
#%{__python3} setup.py test
|
|
||||||
#popd
|
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}
|
%files -n python3-%{name}
|
||||||
%{python3_sitearch}/*.so
|
%{python3_sitearch}/*.so
|
||||||
@ -45,10 +53,28 @@ cp -a . %{py3dir}
|
|||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
- 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
|
- cancel the check
|
||||||
|
|
||||||
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6.1-1
|
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6.1-1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user