From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: "Dmitry V. Levin" <ldv@altlinux.org>
Subject: Re: [devel] rpm-build для сборки пакетов
Date: Tue, 07 Sep 2021 16:38:24 +0300
Message-ID: <1b8cb294b24644dc1c94431e73aeae7e@altlinux.ru> (raw)
In-Reply-To: <20210907130906.GD30744@altlinux.org>
Dmitry V. Levin писал 7.9.21 16:09:
> On Tue, Sep 07, 2021 at 03:31:28PM +0300, Dmitry V. Levin wrote:
>> On Tue, Sep 07, 2021 at 02:39:51PM +0300, Vitaly Lipatov wrote:
>> > Dmitry V. Levin писал 7.9.21 11:54:
>> [...]
>> > >> Ключевые моменты:
>> > >> - и rpm-build и rpm-build-slim предоставляют /usr/bin/rpmbuild
>> > >
>> > > NAK.
>> > >
>> > > В такой схеме rpm-build-slim лексикографически круче rpm-build
>> > > и по зависимости /usr/bin/rpmbuild будет выбираться вместо rpm-build.
>> > Тогда я предлагаю более простой и правильный вариант:
>> > сделать пакет base-build-system с необходимыми для формирования базовой
>> > сборочной системы зависимостями и убрать всё лишнее из rpm-build.
>>
>> Так нельзя сделать, потому что сломается hasher, в котором зашит
>> rpm-build. Видимо, единственный способ - это распилить пакет
>> rpm-build.
>
> Но надо понимать, что отпилить зависимости пакета rpm-build от пакета,
> в котором находится его /usr/lib/rpm/, будет непросто.
Вы не могли бы в общих чертах показать схему распила? Я пока не вижу
варианта, при котором установка rpm-build могла бы приводить к иному,
чем сейчас, результату.
То есть самый безболезненный вариант — это выделить /usr/bin/rpmbuild и
что ему нужно, в отдельный пакет.
Тогда не придётся переделывать ничего, кроме пакета rpm-build, но
структура станет ещё более нестандартной.
--
С уважением,
Виталий Липатов,
ALT Linux Team
next prev parent reply other threads:[~2021-09-07 13:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-07 8:44 Vitaly Lipatov
2021-09-07 8:54 ` Dmitry V. Levin
2021-09-07 9:34 ` Alexey V. Vissarionov
2021-09-07 11:39 ` Vitaly Lipatov
2021-09-07 12:31 ` Dmitry V. Levin
2021-09-07 13:09 ` Dmitry V. Levin
2021-09-07 13:38 ` Vitaly Lipatov [this message]
2021-09-07 13:49 ` Alexey V. Vissarionov
2021-09-07 13:52 ` Dmitry V. Levin
2021-09-08 8:50 ` Vitaly Lipatov
2021-09-08 8:58 ` Dmitry V. Levin
2021-09-08 10:27 ` Dmitry V. Levin
2021-09-08 10:33 ` Anton Farygin
2021-09-08 21:23 ` Vladimir D. Seleznev
2021-09-08 11:52 ` Vitaly Lipatov
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=1b8cb294b24644dc1c94431e73aeae7e@altlinux.ru \
--to=lav@altlinux.ru \
--cc=devel@lists.altlinux.org \
--cc=ldv@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