ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] buildreq FRs (was: [#27659] FAILED qt4.git=4.7.0-alt0.5)
Date: Mon, 16 Aug 2010 12:55:00 +0300
Message-ID: <20100816095500.GN30287@osdn.org.ua> (raw)
In-Reply-To: <20100814164509.GA18271@mw.office.seiros.ru>

On Sat, Aug 14, 2010 at 08:45:09PM +0400, Денис Смирнов wrote:
> MS> > 2. При обновлении версии иногда приходится временно отключать
> MS> >    отдельные модули
> MS> %def_disable
> Я в курсе. И все равно это делает полезным использование ручный
> build requires, которые обернуты %if.  Если бы buildreq был
> чуточку по умнее, он мог бы это не ломать, и тогда им было бы
> гораздо удобнее пользоваться.

А как бы ты предложил отлавливать завёрнутое в %if?

На ум пока приходит только multiline regex с условием
"^%if непосредственно перед BuildRequires:" для того,
чтоб не трогать такой BR, ну или ещё можешь глянуть
в filter_spec из rpm-utils.git -- флажок ставить.

> Кстати второе пожелание к buildreq -- возможность заставить его
> выводить зависимости не в одну строку, а по одной зависимости
> на строку. Там потом git diff смотреть удобнее.

Это да, но для некоторых пакетов простыни будут огромные,
даже если только топологически сортированные зависимости так
выводить.

Ну и логику вышеупомянутого скрипта по части факта нахождения BR
(переменная found) придётся переделать, потому что семантика
совсем другая получается -- не "заменить список в первом
найденном BR", а "заменить все BR на вот эти".

Или же надо делать какие-то метки начала-конца автогенерата.

Можно попытаться изобразить, но привычки по работе со спеками
это заденет и скорее всего сильно.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  parent reply	other threads:[~2010-08-16  9:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-13 11:49 ` [devel] [#27659] FAILED qt4.git=4.7.0-alt0.5 Sergey V Turchin
2010-08-13 12:58   ` Alexey Tourbin
2010-08-13 13:00     ` Kirill A. Shutemov
2010-08-13 13:11     ` Денис Смирнов
2010-08-13 13:41       ` Alexey Tourbin
2010-08-13 13:45         ` Kirill A. Shutemov
2010-08-13 22:47         ` Денис Смирнов
2010-08-14  7:57           ` Michael Shigorin
2010-08-14 16:45             ` Денис Смирнов
2010-08-14 16:48               ` Igor Zubkov
2010-08-16 14:38                 ` Денис Смирнов
2010-08-16  9:55               ` Michael Shigorin [this message]
2010-08-16 12:53                 ` [devel] buildreq FRs (was: [#27659] FAILED qt4.git=4.7.0-alt0.5) Денис Смирнов
2010-08-13 13:11     ` [devel] [#27659] FAILED qt4.git=4.7.0-alt0.5 Sergey V Turchin

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=20100816095500.GN30287@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --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