public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Iryna Shcherbina <shcherbina.iryna@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Update Python 2 dependency declarations to new packaging standards
Date: Sun, 31 May 2026 02:06:47 GMT [thread overview]
Message-ID: <178019320703.1.9464346915974436910.rpms-ibus-7604e10d92c1@fedoraproject.org> (raw)
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
reply other threads:[~2026-05-31 2:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178019320703.1.9464346915974436910.rpms-ibus-7604e10d92c1@fedoraproject.org \
--to=shcherbina.iryna@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox