Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-07 04:04:24 +01:00
parent 6a57d2af68
commit 04ec2a60fe

View File

@ -1,6 +1,6 @@
Name: itstool
Version: 2.0.2
Release: 8%{?dist}
Release: 9%{?dist}
Summary: ITS-based XML translation tool
Group: Development/Tools
@ -10,10 +10,10 @@ Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: libxml2-python
BuildRequires: python2-libxml2
BuildRequires: python2
BuildRequires: python2-devel
Requires: libxml2-python
Requires: python2-libxml2
%description
ITS Tool allows you to translate XML documents with PO files, using rules from
@ -38,6 +38,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
%doc %{_mandir}/man1/itstool.1.gz
%changelog
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.2-9
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Mon Feb 05 2018 Petr Viktorin <pviktori@redhat.com> - 2.0.2-8
- Be more explicit about Python build dependencies
(Require python2-devel, tell autotools that PYTHON is python2)