diff --git a/python-ibus.spec b/python-ibus.spec index 972ae39..4fac83c 100644 --- a/python-ibus.spec +++ b/python-ibus.spec @@ -29,14 +29,6 @@ Source: https://github.com/ibus/ibus/releases/download/%{version}/%{_nam # Source: %{_name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE ibus-python-install-dir.patch ftake@geeko.jp Patch0: ibus-python-install-dir.patch -# PATCH-FIX-UPSTREAM marguerite@opensuse.org -# Ibus will use python3 only when variable PYTHON2 is empty. -# Thus ibus-setup and bindings are still bytecompiled with python2. -# Then python3 support is useless, so we force python3 when python3 -# is enabled, and fix syntax errors in python-config.py -Patch5: ibus-force-python3.patch -# PATCH-FIX-UPSTREAM marguerite@opensuse.org -Patch7: ibus-python3-migration.patch BuildRequires: dbus-1-glib-devel BuildRequires: dbus-1-python-devel >= 0.83.0 BuildRequires: dconf-devel >= 0.7.5 @@ -56,17 +48,16 @@ BuildRequires: python BuildRequires: python-devel BuildRequires: python-gobject-devel BuildRequires: unicode-ucd +BuildRequires: update-desktop-files BuildRequires: x11-tools BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(json-glib-1.0) -Requires: python-gobject -BuildRequires: update-desktop-files BuildRequires: pkgconfig(vapigen) BuildRequires: pkgconfig(xkbcommon) # copy_deep method is supported since 0.31.1 BuildRequires: vala >= 0.31.1 Requires: %{_name} = %{version} -Requires: python3 +Requires: python-gobject BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -77,8 +68,6 @@ developers to develop input method easily. %prep %setup -q -n %{_name}-%{version} %patch0 -p1 -%patch5 -p1 -%patch7 -p1 %build autoreconf -fi