public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-ipc] rawhide: Change default backend server search path to /usr/libexec/sequoia
@ 2026-07-08  8:39 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-08  8:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-sequoia-ipc
Branch : rawhide
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=rawhide

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
 

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

only message in thread, other threads:[~2026-07-08  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08  8:39 [rpms/rust-sequoia-ipc] rawhide: Change default backend server search path to /usr/libexec/sequoia Fabio Valentini

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