public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sai Harsha Suryadevara <ssuryad@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gpm] rawhide: Add a build conditional for inputattach, default on
Date: Tue, 24 Nov 2026 10:37:39 GMT	[thread overview]
Message-ID: <179551665954.1.2930389189680036745.rpms-gpm-c1736c8889de@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gpm
            Branch : rawhide
            Commit : c1736c8889dedb7c9c7d5061e7d5655fa9ffb4ae
            Author : Sai Harsha Suryadevara <ssuryad@amazon.com>
            Date   : 2026-11-06T00:06:20+00:00
            Stats  : +5/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gpm/c/c1736c8889dedb7c9c7d5061e7d5655fa9ffb4ae?branch=rawhide

            Log:
            Add a build conditional for inputattach, default on

linuxconsoletools is only needed for inputattach, which sets up serial and bus mice, and gpm never runs it. Default on, Fedora's build does not change.

Signed-off-by: Sai Harsha Suryadevara <ssuryad@amazon.com>

---
diff --git a/gpm.spec b/gpm.spec
index ae74aa2..201420a 100644
--- a/gpm.spec
+++ b/gpm.spec
@@ -1,3 +1,6 @@
+# Pull in linuxconsoletools for inputattach, which sets up serial and bus mice
+%bcond inputattach 1
+
 Summary: A mouse server for the Linux console
 Name: gpm
 Version: 1.20.7
@@ -37,7 +40,9 @@ Requires(preun): info
 BuildRequires: sed gawk texinfo bison ncurses-devel autoconf automake libtool libcap-ng-devel
 BuildRequires: systemd-rpm-macros
 BuildRequires: make
+%if %{with inputattach}
 Requires: linuxconsoletools
+%endif
 Requires: %{name}-libs = %{version}-%{release}
 
 %description

                 reply	other threads:[~2026-11-24 10:37 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=179551665954.1.2930389189680036745.rpms-gpm-c1736c8889de@fedoraproject.org \
    --to=ssuryad@amazon.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