public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lldpad] rawhide: Fix readline dependency
Date: Mon, 05 Oct 2026 12:23:32 GMT [thread overview]
Message-ID: <179120301265.1.18397022156141678989.rpms-lldpad-369286d4e0b8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/lldpad
Branch : rawhide
Commit : 369286d4e0b8eadbce6d06d502db4c5a72729424
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2026-09-16T18:46:47+02:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/lldpad/c/369286d4e0b8eadbce6d06d502db4c5a72729424?branch=rawhide
Log:
Fix readline dependency
readline should not be a hard Requires, because openlldp uses dlopen()
to load the library at runtime and it implements a fallback. Downgrade
it to a weak dependency: Recommends.
The readline package itself is not sufficient, because openlldp looks
for unversioned libhistory.so and libreadline.so, which are found in the
readline-devel package. Recommend that.
---
diff --git a/lldpad.spec b/lldpad.spec
index 4e4be67..c550813 100644
--- a/lldpad.spec
+++ b/lldpad.spec
@@ -21,7 +21,10 @@ BuildRequires: libnl3-devel
BuildRequires: readline-devel
BuildRequires: systemd
BuildRequires: make
-Requires: readline
+
+# weak_readline.c dlopen()s libhistory.so and libreadline.so,
+# with no version suffix. They are in the -devel package.
+Recommends: readline-devel
Requires(post): systemd
Requires(preun): systemd
reply other threads:[~2026-10-05 12:23 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=179120301265.1.18397022156141678989.rpms-lldpad-369286d4e0b8@fedoraproject.org \
--to=mschmidt@redhat.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