ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: REAL <real@kemsu.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] asterisk*-devel удалено
Date: Tue, 03 Feb 2015 10:22:58 +0700
Message-ID: <54D03F12.6090004@kemsu.ru> (raw)
In-Reply-To: <20150203031713.GA30251@mw.mithraen.ru>

03.02.2015 10:17, Денис Смирнов пишет:
>> Можно в спеке в зависимости от того, куда собирается пакет, выставлять
>> этот тамый noarch. Изврат, конечно, но всё же. Хотя, с другой стороны,
>> вопрос, есть ли у нас кто-то, кому нужен этот devel-doc :)
>
> А как делать зависимость от того, куда собирается пакет?

Да просто определить где-нибудь в начале что-то типа:

%define where sisyphus

А потом:

%if "%where" != "sisyphus"
BuildArch: noarch
%endif

Ну или как-то так. При портировании в бранч просто заменять "sisyphus" 
в определении where на что-нибудь соответствующее.

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



  reply	other threads:[~2015-02-03  3:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-02 15:37 Денис Смирнов
2015-02-03  2:56 ` REAL
2015-02-03  3:06   ` Денис Смирнов
2015-02-03  3:12     ` REAL
2015-02-03  3:17       ` Денис Смирнов
2015-02-03  3:22         ` REAL [this message]
2015-02-03 12:14         ` [devel] Cборка под несколько бранчей (was: asterisk*-devel удалено) Sergey V Turchin
2015-02-03 15:34           ` Igor Vlasenko
2015-02-03 15:52             ` Sergey V Turchin
2015-02-03 16:46               ` Igor Vlasenko
2015-02-04 11:33                 ` Sergey V Turchin
2015-02-03 15:36 ` [devel] asterisk*-devel удалено Igor Vlasenko

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=54D03F12.6090004@kemsu.ru \
    --to=real@kemsu.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