ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] IA: %setup_std_python_package_deps broken
Date: Wed, 31 May 2006 02:11:12 +0400
Message-ID: <1149027072.15690.23.camel@localhost.localdomain> (raw)
In-Reply-To: <20060526234747.GA25071@nomad.office.altlinux.org>

В Сбт, 27/05/2006 в 03:47 +0400, Dmitry V. Levin пишет:
> Нижепроцитированный макрос из /etc/rpm/macros.d/python (пакет
> rpm-build-python) не имеет права на существование:
> 
> %setup_std_python_package_deps() \
> %{expand: %%{!?modulename:%%_setup_python_module_internal %{*}}} \
> %(echo "Requires: python = %__python_version") \
> %(echo "BuildPreReq: python-devel = %__python_version") \
> %(echo "BuildPreReq: rpm-build-python >= 0.8") \
> %(echo "Provides: python%__python_version-module-%modulename =
> %%version-%release") \
> %nil
> 
> Причина простая: для вычисления сборочных зависимостей нельзя использовать
> средства, которые не доступны при установке пакета, содержащего
> определение макроса.  Для работы макроса %setup_std_python_package_deps
> нужен рабочий python, но для функционирования пакета rpm-build-python
> рабочий python не обязателен.
> 
> P.S. Пока что я собираю libdnet --without python.

Можно просто не пользоваться шибко умными макросами,
а писать пакеты вручную as they should have been.
И без %__python_version в BuildRequires, конечно.

  reply	other threads:[~2006-05-30 22:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-26 23:47 Dmitry V. Levin
2006-05-30 22:11 ` Mikhail Zabaluev [this message]
2006-05-30 22:49   ` Dmitry V. Levin
2006-05-31  5:14   ` Alexey I. Froloff
2006-05-31  7:21     ` [devel] один дистр - один python (Was: IA: %setup_std_python_package_deps broken) Andrei Bulava
2006-06-12  9:10       ` Ivan Fedorov
2006-06-12 19:34         ` Konstantin A. Lepikhov
2006-06-13  7:25         ` [devel] один дистр - один python Andrei Bulava
2006-07-07  2:39           ` Ivan Fedorov
2006-07-07  5:24             ` Mikhail Zabaluev
2006-07-16  2:08               ` Ivan Fedorov
2006-07-17 11:18                 ` Andrei Bulava
2006-07-30  7:42                   ` Ivan Fedorov
2006-07-30  9:09                     ` Alexey Rusakov
2006-07-30 19:55                       ` [devel] [JT] " Michael Shigorin
2006-07-30 20:07                         ` Alexey Tourbin
2006-07-30 20:10                           ` Alexey Rusakov
2006-07-30 20:27                             ` Alexey Tourbin
2006-07-30 20:34                             ` Michael Shigorin
2006-07-30 20:38                               ` Alexey Tourbin
2006-07-31 13:00                           ` Gleb Stiblo
2006-08-01 14:12 ` [devel] IA: %setup_std_python_package_deps broken Fr. Br. George
2006-08-01 16:43   ` Dmitry V. Levin
2006-08-02  9:37     ` Fr. Br. George

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=1149027072.15690.23.camel@localhost.localdomain \
    --to=mhz@altlinux.org \
    --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