!4 pyxattr update to 0.7.1
Merge pull request !4 from yixiangzhike/master
This commit is contained in:
commit
6bd4b463f4
Binary file not shown.
BIN
pyxattr-0.7.1.tar.gz
Normal file
BIN
pyxattr-0.7.1.tar.gz
Normal file
Binary file not shown.
45
pyxattr.spec
45
pyxattr.spec
@ -1,29 +1,17 @@
|
|||||||
Name: pyxattr
|
Name: pyxattr
|
||||||
Summary: Extended attributes library wrapper for Python
|
Summary: Extended attributes library wrapper for Python
|
||||||
Version: 0.6.1
|
Version: 0.7.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 python2-devel python2-setuptools python3-devel python3-setuptools
|
BuildRequires: gcc libattr-devel python3-devel python3-setuptools
|
||||||
|
|
||||||
%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
|
||||||
the extended attributes for filesystem objects available in some operating systems.
|
the extended attributes for filesystem objects available in some operating systems.
|
||||||
|
|
||||||
%package -n python2-%{name}
|
|
||||||
Summary: Extended attributes library wrapper for Python 2
|
|
||||||
%{?python_provide:%python_provide python2-%{name}}
|
|
||||||
Provides: pyxattr = %{version}-%{release}
|
|
||||||
Provides: pyxattr%{?_isa} = %{version}-%{release}
|
|
||||||
Obsoletes: pyxattr < %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python2-%{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 python2
|
|
||||||
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: Extended attributes library wrapper for Python 3
|
Summary: Extended attributes library wrapper for Python 3
|
||||||
|
|
||||||
@ -39,42 +27,27 @@ rm -rf %{py3dir}
|
|||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python2} setup.py build
|
%py3_build
|
||||||
|
|
||||||
pushd %{py3dir}
|
|
||||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python2} setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
|
%py3_install
|
||||||
|
|
||||||
pushd %{py3dir}
|
|
||||||
%{__python3} setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
|
|
||||||
popd
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
#export TEST_IGNORE_XATTRS=security.selinux
|
|
||||||
#%{__python2} setup.py test
|
|
||||||
|
|
||||||
#pushd %{py3dir}
|
#pushd %{py3dir}
|
||||||
#%{__python3} setup.py test
|
#%{__python3} setup.py test
|
||||||
#popd
|
#popd
|
||||||
|
|
||||||
%files -n python2-%{name}
|
|
||||||
%{python2_sitearch}/*.so
|
|
||||||
%{python2_sitearch}/pyxattr*
|
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
|
||||||
%doc NEWS README.rst
|
|
||||||
|
|
||||||
%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.rst
|
%doc NEWS README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jul 7 2020 Liquor <lirui130@hauwei.com> - 0.6.1-2
|
||||||
- cancel the check
|
- cancel the check
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user