From: Ilya Kurdyukov <ilyakurdyukov@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Сборочница не проверяет идентичность SRPM?
Date: Sun, 26 Nov 2023 20:38:55 +0700
Message-ID: <5e7deed8-9344-4192-b702-821b2b89b9d0@basealt.ru> (raw)
In-Reply-To: <d91d7eb5-571d-c535-6a00-cf3aada6961a@altlinux.org>
On 11/26/23 20:27, Денис Назаров wrote:
> 26.11.2023 12:29, Anton Farygin пишет:
>> On 25.11.2023 15:18, Денис Назаров wrote:
>>> 25.11.2023 15:03, Ilya Kurdyukov пишет:
>>>> Просто не надо так делать:
>>>>
>>>> %ifarch xxx
>>>> Patch1: xxx.patch
>>>> %endif
>>>>
>>>> Перечисление патчей должно быть доступно для всех архитектур.
>>>>
>>>> Если надо отключать патч, то делать это в %setup.
>>>
>>>
>>> Это как раз понятно - не заметил и по ошибке в 2 местах написал.
>>> Сейчас просто получается ситуация, что можно собрать пакет, который
>>> успешно проходит сборку, но не может пройти пересборку.
>>
>> Способов сделать такой пакет гораздо больше одного.
>>
>> Вообще тут, как мне кажется, лучше повесить FR на girar о том, что бы
>> он собирал для всех архитектур бинари из srpm, сделанного на какой-то
>> одной архитектуре.
>>
> https://bugzilla.altlinux.org/48592
Только создаст ситуацию что кто-то сделает что-то в спеке для своей
архитектуры, и не сможет понять почему SRPM получается для другой. Такое
решение закладывает грабли на которые обязательно кто-нибудь наступит. И
когда наступит - ему будет сложно понять что происходит.
> для поддерживаемых в задании архитектур
А изменятся поддерживаемые - изменится SRPM.
до: грабли
после: грабли прикрытые листьями
next prev parent reply other threads:[~2023-11-26 13:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-25 10:06 Денис Назаров
2023-11-25 12:03 ` Ilya Kurdyukov
2023-11-25 12:18 ` Денис Назаров
2023-11-26 9:29 ` Anton Farygin
2023-11-26 13:27 ` Денис Назаров
2023-11-26 13:38 ` Ilya Kurdyukov [this message]
2023-11-26 13:45 ` Anton Farygin
2023-11-28 13:02 ` Danil Shein
2023-11-26 14:15 ` Денис Назаров
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=5e7deed8-9344-4192-b702-821b2b89b9d0@basealt.ru \
--to=ilyakurdyukov@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