Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-31 23:07:50 +01:00
parent a5f6e0c513
commit bf7879b5fa

View File

@ -2,14 +2,14 @@
Name: pyxattr
Summary: Extended attributes library wrapper for Python
Version: 0.5.3
Release: 14%{?dist}
Release: 15%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://pyxattr.k1024.org/
Source: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
Patch0: 0001-use-Py_ssize_t.patch
BuildRequires: libattr-devel
BuildRequires: python2-devel, python-setuptools
BuildRequires: python2-devel, python2-setuptools
%if %{?with_python3}
BuildRequires: python3-devel, python3-setuptools
%endif # with_python3
@ -99,6 +99,10 @@ popd
%endif # with_python3
%changelog
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.3-15
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Tue Dec 26 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.3-14
- Also add Provides for the old name without %%_isa