ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: %ubt nmu закончено.
Date: Mon, 8 Jul 2019 21:43:56 +0300
Message-ID: <20190708184356.GA16428@dad.imath.kiev.ua> (raw)
In-Reply-To: <18b2f6d7-c5c5-627d-bcc3-107acebb9a41@altlinux.org>

On Mon, Jul 08, 2019 at 04:40:56PM +0300, Aleksei Nikiforov wrote:
> > darktemplar	gd3
> > darktemplar	mono
> 
> Здравствуй.
> 
> В этих двух пакетах ubt используется для определения, собирается пакет для
> Сизифа или для другой ветки. Есть какой-то другой автоматический способ
> определения для какой ветки собирается пакет? В частности, меня интересует
> способ определить, собирается ли пакет для Сизифа, p9, или для какой-то
> более старой ветки.

Это очень хороший вопрос. 
К сожалению, ответа я не знаю.

Как понимаю, хочется писать в спеке (условно)

%if %платформа < 8
%patchX
%endif

И, как понимаю, официального решения здесь нет,
есть разные костыли, как тот же rpm-*-ubt.

С другой стороны, на побочных архитектурах (e2k...)
понятие %платформа более размыто.
Им бы было удобнее, если бы проверки делать, как писал Сергей,
> По версиям пакетов из BuildRequires(pre) можно. Я пользуюсь, когда это более
> корректно. http://bugs.altlinux.org/6010

но опять же это сейчас внесено в ubt.

Как понимаю, основная претензия к ubt была из за макроса %ubt
в релизе.

таких пакетов 
см. repocop test specfile-macros-ubt-is-deprecated.txt
осталось всего 5:

nenderus        pcsx2
zerg    primus
slev    python-module-etcd
shrek   rtkit
drool   transgui

Может, просто убрать макрос %ubt из rpm-macros-ubt,
а все остальное оставить?

-- 

I V


  parent reply	other threads:[~2019-07-08 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-08 13:27 Igor Vlasenko
2019-07-08 13:40 ` Aleksei Nikiforov
2019-07-08 13:55   ` Sergey V Turchin
2019-07-08 18:43   ` Igor Vlasenko [this message]
2019-07-08 13:52 ` 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=20190708184356.GA16428@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.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