public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-cargo-c] eln: Disable ssh feature of cargo
Date: Thu, 15 Oct 2026 18:34:13 GMT	[thread overview]
Message-ID: <179208925397.1.14477439959265002910.rpms-rust-cargo-c-ab8410b0ff54@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-15 18:34 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=179208925397.1.14477439959265002910.rpms-rust-cargo-c-ab8410b0ff54@fedoraproject.org \
    --to=yselkowi@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