diff --git a/pyxattr-0.6.1.tar.gz b/pyxattr-0.6.1.tar.gz deleted file mode 100644 index 851621a..0000000 Binary files a/pyxattr-0.6.1.tar.gz and /dev/null differ diff --git a/pyxattr-0.7.1.tar.gz b/pyxattr-0.7.1.tar.gz new file mode 100644 index 0000000..d5fed09 Binary files /dev/null and b/pyxattr-0.7.1.tar.gz differ diff --git a/pyxattr.spec b/pyxattr.spec index ee42b9e..d1b208c 100644 --- a/pyxattr.spec +++ b/pyxattr.spec @@ -1,29 +1,17 @@ Name: pyxattr Summary: Extended attributes library wrapper for Python -Version: 0.6.1 -Release: 2 +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 python2-devel python2-setuptools python3-devel python3-setuptools +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 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} Summary: Extended attributes library wrapper for Python 3 @@ -39,42 +27,27 @@ rm -rf %{py3dir} cp -a . %{py3dir} %build -CFLAGS="%{optflags}" %{__python2} setup.py build - -pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setup.py build -popd +%py3_build %install -%{__python2} setup.py install --root="%{buildroot}" --prefix="%{_prefix}" - -pushd %{py3dir} -%{__python3} setup.py install --root="%{buildroot}" --prefix="%{_prefix}" -popd +%py3_install %check -#export TEST_IGNORE_XATTRS=security.selinux -#%{__python2} setup.py test - #pushd %{py3dir} #%{__python3} setup.py test #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} %{python3_sitearch}/*.so %{python3_sitearch}/pyxattr* %{!?_licensedir:%global license %%doc} %license COPYING -%doc NEWS README.rst +%doc NEWS README.md %changelog +* Wed Jul 29 2020 zhangxingliang - 0.7.1-1 +- update to 0.7.1 + * Tue Jul 7 2020 Liquor - 0.6.1-2 - cancel the check