diff --git a/pyxattr.spec b/pyxattr.spec index 887f719324..f6fa8ef803 100644 --- a/pyxattr.spec +++ b/pyxattr.spec @@ -2,7 +2,7 @@ Name: pyxattr Summary: Extended attributes library wrapper for Python Version: 0.5.3 -Release: 12%{?dist} +Release: 13%{?dist} License: LGPLv2+ Group: Development/Libraries URL: http://pyxattr.k1024.org/ @@ -14,10 +14,21 @@ BuildRequires: python2-devel, python-setuptools BuildRequires: python3-devel, python3-setuptools %endif # with_python3 -%description -Python extension module wrapper for libattr. It allows to query, list, +%global _description\ +Python extension module wrapper for libattr. It allows to query, list,\ add and remove extended attributes from files and directories. +%description %_description + +%package -n python2-%{name} +Summary: %summary +%{?python_provide:%python_provide python2-%{name}} +# Remove before F30 +Provides: pyxattr%{?_isa} = %{version}-%{release} +Obsoletes: pyxattr < %{version}-%{release} + +%description -n python2-%{name} %_description + %if %{?with_python3} %package -n python3-%{name} Summary: Extended attributes library wrapper for Python 3 @@ -68,7 +79,7 @@ pushd %{py3dir} popd %endif # with_python3 -%files +%files -n python2-%{name} %defattr(0644,root,root,0755) %{python2_sitearch}/xattr.so %{python2_sitearch}/*egg-info @@ -87,6 +98,10 @@ popd %endif # with_python3 %changelog +* Sun Aug 13 2017 Zbigniew Jędrzejewski-Szmek - 0.5.3-13 +- Python 2 binary package renamed to python2-pyxattr + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.5.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild