Python 2 binary package renamed to python2-pyxattr
This commit is contained in:
parent
cce2397174
commit
8591f384e5
23
pyxattr.spec
23
pyxattr.spec
@ -2,7 +2,7 @@
|
|||||||
Name: pyxattr
|
Name: pyxattr
|
||||||
Summary: Extended attributes library wrapper for Python
|
Summary: Extended attributes library wrapper for Python
|
||||||
Version: 0.5.3
|
Version: 0.5.3
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://pyxattr.k1024.org/
|
URL: http://pyxattr.k1024.org/
|
||||||
@ -14,10 +14,21 @@ BuildRequires: python2-devel, python-setuptools
|
|||||||
BuildRequires: python3-devel, python3-setuptools
|
BuildRequires: python3-devel, python3-setuptools
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%description
|
%global _description\
|
||||||
Python extension module wrapper for libattr. It allows to query, list,
|
Python extension module wrapper for libattr. It allows to query, list,\
|
||||||
add and remove extended attributes from files and directories.
|
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}
|
%if %{?with_python3}
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: Extended attributes library wrapper for Python 3
|
Summary: Extended attributes library wrapper for Python 3
|
||||||
@ -68,7 +79,7 @@ pushd %{py3dir}
|
|||||||
popd
|
popd
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%files
|
%files -n python2-%{name}
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{python2_sitearch}/xattr.so
|
%{python2_sitearch}/xattr.so
|
||||||
%{python2_sitearch}/*egg-info
|
%{python2_sitearch}/*egg-info
|
||||||
@ -87,6 +98,10 @@ popd
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 13 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 0.5.3-12
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-12
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user