Compare commits
10 Commits
bf4b99bbb9
...
e42caebcba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e42caebcba | ||
|
|
3fc71fe369 | ||
|
|
e4aee21c90 | ||
|
|
a0b5aadcef | ||
|
|
ae30506002 | ||
|
|
54b3e51a65 | ||
|
|
1f9c7bad71 | ||
|
|
100d081842 | ||
|
|
4efe351967 | ||
|
|
b7691f40c7 |
Binary file not shown.
BIN
pyxattr-0.8.1.tar.gz
Normal file
BIN
pyxattr-0.8.1.tar.gz
Normal file
Binary file not shown.
37
pyxattr.spec
37
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.2
|
Version: 0.8.1
|
||||||
Release: 2
|
Release: 1
|
||||||
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,18 +33,41 @@ 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
|
||||||
%{python3_sitearch}/pyxattr*
|
%{python3_sitearch}/pyxattr*
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc NEWS README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 12 2023 dillon chen <dillon.chen@gmail.com> - 0.8.1-1
|
||||||
|
- update version to 0.8.1
|
||||||
|
|
||||||
|
* Wed Jul 5 2023 zhangruifang <zhangruifang1@h-partners.com> - 0.8.0-3
|
||||||
|
- check if the build environment supports attr before executing test
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- update version to 0.8.0
|
||||||
|
|
||||||
|
* 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
|
* Tue Feb 2 2021 zhangxingliang <zhangxingliang3@huawei.com> - 0.7.2-2
|
||||||
- revert changes in check
|
- revert changes in check
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user