Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-20 10:20:16 +01:00
parent 6003ef4457
commit 410f669789

View File

@ -22,7 +22,7 @@
Name: ibus-anthy Name: ibus-anthy
Version: 1.5.9 Version: 1.5.9
Release: 6%{?dist} Release: 7%{?dist}
Summary: The Anthy engine for IBus input platform Summary: The Anthy engine for IBus input platform
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
@ -46,13 +46,13 @@ BuildRequires: python3-devel
BuildRequires: python3-gobject BuildRequires: python3-gobject
%else %else
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: pygobject3-base BuildRequires: python2-gobject-base
%endif %endif
Requires: ibus >= %{require_ibus_version} Requires: ibus >= %{require_ibus_version}
Requires: kasumi Requires: kasumi
Requires: anthy Requires: anthy
Requires: %{name}-python = %{version}-%{release} Requires: python2-%{name} = %{version}-%{release}
%description %description
The Anthy engine for IBus platform. It provides Japanese input method from The Anthy engine for IBus platform. It provides Japanese input method from
@ -68,8 +68,8 @@ Requires: gtk3
Requires: python3-cairo Requires: python3-cairo
Requires: python3-gobject Requires: python3-gobject
%else %else
Requires: pycairo Requires: python2-cairo
Requires: pygobject3 Requires: python2-gobject
%endif %endif
%description python %description python
@ -164,6 +164,10 @@ touch --no-create %{_datadir}/icons/hicolor || :
%{_libdir}/libanthygobject-%{sub_version}.so %{_libdir}/libanthygobject-%{sub_version}.so
%changelog %changelog
* Tue Feb 20 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.9-7
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.9-6 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild