public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-sequoia-ipc] epel9: Change default backend server search path to /usr/libexec/sequoia
Date: Wed, 08 Jul 2026 09:55:32 GMT	[thread overview]
Message-ID: <178350453218.1.4829876397849349892.rpms-rust-sequoia-ipc-067e893b38db@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-sequoia-ipc
Branch : epel9
Commit : 067e893b38dbcd61b5201dc3fc35e90dca663b56
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-08T10:38:24+02:00
Stats  : +36/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-ipc/c/067e893b38dbcd61b5201dc3fc35e90dca663b56?branch=epel9

Log:
Change default backend server search path to /usr/libexec/sequoia

---
diff --git a/0001-Change-default-backend-server-search-path-to-usr-lib.patch b/0001-Change-default-backend-server-search-path-to-usr-lib.patch
new file mode 100644
index 0000000..0188aae
--- /dev/null
+++ b/0001-Change-default-backend-server-search-path-to-usr-lib.patch
@@ -0,0 +1,35 @@
+From 9ebd4f204461db65330db59db67764a81369c96b Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Wed, 8 Jul 2026 10:32:49 +0200
+Subject: [PATCH] Change default backend server search path to
+ /usr/libexec/sequoia
+
+---
+ src/core.rs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/core.rs b/src/core.rs
+index bae62f9..3af5a4b 100644
+--- a/src/core.rs
++++ b/src/core.rs
+@@ -84,7 +84,7 @@ impl Drop for Context {
+ /// Returns $PREXIX at compile-time, or a reasonable default prefix.
+ fn prefix() -> PathBuf {
+     /* XXX: Windows support.  */
+-    PathBuf::from(option_env!("PREFIX").unwrap_or("/usr/local"))
++    PathBuf::from(option_env!("PREFIX").unwrap_or("/usr"))
+ }
+ 
+ impl Context {
+@@ -101,7 +101,7 @@ impl Context {
+     pub fn configure() -> Config {
+         Config(Context {
+             home: PathBuf::from(""), // Defer computation of default.
+-            lib: prefix().join("lib").join("sequoia"),
++            lib: prefix().join("libexec").join("sequoia"),
+             ipc_policy: IPCPolicy::Robust,
+             ephemeral: false,
+             cleanup: false,
+-- 
+2.55.0
+

diff --git a/rust-sequoia-ipc.spec b/rust-sequoia-ipc.spec
index dbe9f06..13a2f22 100644
--- a/rust-sequoia-ipc.spec
+++ b/rust-sequoia-ipc.spec
@@ -14,6 +14,7 @@ URL:            https://crates.io/crates/sequoia-ipc
 Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          sequoia-ipc-fix-metadata-auto.diff
+Patch:          0001-Change-default-backend-server-search-path-to-usr-lib.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

                 reply	other threads:[~2026-07-08  9:55 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=178350453218.1.4829876397849349892.rpms-rust-sequoia-ipc-067e893b38db@fedoraproject.org \
    --to=decathorpe@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