public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cargo-c] eln: Disable ssh feature of cargo
@ 2026-10-15 18:34 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-15 18:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-cargo-c
            Branch : eln
            Commit : ab8410b0ff5481ea5f0ee27aa5668397fb8f4f4d
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-14T21:46:58-04:00
            Stats  : +2/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-cargo-c/c/ab8410b0ff5481ea5f0ee27aa5668397fb8f4f4d?branch=eln

            Log:
            Disable ssh feature of cargo

libssh2 is unwanted in RHEL.

---
diff --git a/rust-cargo-c.spec b/rust-cargo-c.spec
index f3c5361..66bbc3b 100644
--- a/rust-cargo-c.spec
+++ b/rust-cargo-c.spec
@@ -35,7 +35,6 @@ BuildRequires:  rust-toolset
 BuildRequires:  glibc-devel
 
 BuildRequires:  pkgconfig(libcurl)
-BuildRequires:  pkgconfig(libssh2)
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(zlib)
@@ -109,6 +108,8 @@ Provides:       bundled(sqlite) = 3.49.1
 %prep
 %autosetup -n %{crate}-%{crate_version} -p1 -a1
 %cargo_prep -v vendor
+sed -i -e '/"ssh"/d' vendor/cargo/Cargo.toml
+sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' vendor/cargo/.cargo-checksum.json
 
 %build
 %cargo_build

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

only message in thread, other threads:[~2026-10-15 18:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 18:34 [rpms/rust-cargo-c] eln: Disable ssh feature of cargo Yaakov Selkowitz

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