pyxattr/pyxattr.spec
2020-07-29 18:39:44 +08:00

56 lines
1.3 KiB
RPMSpec

Name: pyxattr
Summary: Extended attributes library wrapper for Python
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
%description
This is the pyxattr module, a Python extension module which gives access to
the extended attributes for filesystem objects available in some operating systems.
%package -n python3-%{name}
Summary: Extended attributes library wrapper for Python 3
%description -n python3-%{name}
This is the pyxattr module, a Python extension module which gives access to
the extended attributes for filesystem objects available in some operating systems.
for python3
%prep
%setup -q
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
%py3_build
%install
%py3_install
%check
#pushd %{py3dir}
#%{__python3} setup.py test
#popd
%files -n python3-%{name}
%{python3_sitearch}/*.so
%{python3_sitearch}/pyxattr*
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc NEWS README.md
%changelog
* Wed Jul 29 2020 zhangxingliang <zhangxingliang@hauwei.com> - 0.7.1-1
- update to 0.7.1
* 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
- Package init