public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Update Python 2 dependency declarations to new packaging standards
@ 2026-05-31  2:06 Iryna Shcherbina
  0 siblings, 0 replies; only message in thread
From: Iryna Shcherbina @ 2026-05-31  2:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 7604e10d92c17c017a672ab51c7f24c16a9bfc7c
Author : Iryna Shcherbina <shcherbina.iryna@gmail.com>
Date   : 2018-02-28T16:42:43+01:00
Stats  : +13/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/7604e10d92c17c017a672ab51c7f24c16a9bfc7c?branch=autotool

Log:
Update Python 2 dependency declarations to new packaging standards

---
diff --git a/ibus.spec b/ibus.spec
index d28d46d..6ef812d 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -30,7 +30,7 @@
 
 Name:           ibus
 Version:        1.5.17
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPLv2+
 Group:          System Environment/Libraries
@@ -178,7 +178,11 @@ This is a setup utility for IBus.
 Summary:        IBus PyGTK2 library
 Group:          System Environment/Libraries
 Requires:       %{name} = %{version}-%{release}
+%if (0%{?fedora} && 0%{?fedora} <= 27) || (0%{?rhel} && 0%{?rhel} <= 7)
 Requires:       dbus-python >= %{dbus_python_version}
+%else
+Requires:       python2-dbus >= %{dbus_python_version}
+%endif
 Requires:       python2
 Requires:       pygtk2
 BuildArch:      noarch
@@ -193,7 +197,11 @@ Summary:        IBus Python2 override library
 Group:          System Environment/Libraries
 Requires:       %{name}-libs%{?_isa}   = %{version}-%{release}
 # Owner of %%python2_sitearch/gi/overrides
+%if (0%{?fedora} && 0%{?fedora} <= 27) || (0%{?rhel} && 0%{?rhel} <= 7)
 Requires:       pygobject3-base
+%else
+Requires:       python2-gobject-base
+%endif
 Requires:       python2
 
 %description py2override
@@ -424,6 +432,10 @@ dconf update || :
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.17-11
+- Update Python 2 dependency declarations to new packaging standards
+  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
+
 * Tue Feb 27 2018 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.17-10
 - Disabled panel extension for gdm user
 - Enabled panel extension in Wayland

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31  2:06 [rpms/ibus] autotool: Update Python 2 dependency declarations to new packaging standards Iryna Shcherbina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox