ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Расширение функциональности rpm-build-rust
Date: Tue, 15 Sep 2026 16:39:34 +0300
Message-ID: <4e05fcdf-b728-42da-b95d-e8fca0bf3ad4@basealt.ru> (raw)
In-Reply-To: <3e15901e-87fb-45f9-bc6d-f854bd6d6124@altlinux.org>

On 9/15/26 15:55, Rx wrote:
>
>
>           Для добавления возможности вендоринга spec-файл должен
>           содержать:
>
> # При отключенном вендоринге брать vendor/ из заранее подготовленного 
> архива.
> %{!?_enable_rust_vendoring: Source1: vendor.tar }
>
> BuildRequires(pre): rpm-build-rust
> # При активном вендоринге, установить программу для вендоринга.
> # По умолчанию %rust_vendor использует cargo-vendor-alt из 
> cargo-vendor-filterer.
> %{?_enable_rust_vendoring:
> BuildRequires: cargo-vendor-filterer
> }
>
> %prep
> # Аналогично Source1.
> %setup %{!?_enable_rust_vendoring:-a1}
> %rust_prep
>
Т.е. для вендоринга внутри hasher нужна сеть, соответственно это не 
сработает без специальным образом запущенного hasher.

Очень похоже на python, но там понятно когда расползаются зависимости, а 
здесь забытый вендоринг про себя что-то скажет ?



       reply	other threads:[~2026-09-15 13:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15 13:39 ` Anton Farygin [this message]
2026-09-16  9:27     ` Ivan A. Melnikov
2026-09-16  8:16 ` Artem Semenov
2026-09-16  8:31   ` Ivan A. Melnikov
2026-09-16  8:54     ` Anton Zhukharev
2026-09-16  9:48       ` Paul Wolneykien
2026-09-16 11:16         ` Rx
2026-09-16 11:51             ` Anton Zhukharev
2026-09-16 11:58               ` Anton Zhukharev
2026-09-16 13:16               ` Paul Wolneykien
2026-09-19 13:57         ` Arseny Maslennikov
2026-09-16  9:36     ` Rx
2026-09-16  9:28   ` Rx
2026-09-16 18:17     ` Anton Zhukharev
2026-09-17 11:19   ` Paul Wolneykien

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=4e05fcdf-b728-42da-b95d-e8fca0bf3ad4@basealt.ru \
    --to=rider@basealt.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git