ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] IA: %setup_std_python_package_deps broken
@ 2006-05-26 23:47 Dmitry V. Levin
  2006-05-30 22:11 ` Mikhail Zabaluev
  2006-08-01 14:12 ` [devel] IA: %setup_std_python_package_deps broken Fr. Br. George
  0 siblings, 2 replies; 24+ messages in thread
From: Dmitry V. Levin @ 2006-05-26 23:47 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

Hi,

Нижепроцитированный макрос из /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.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2006-08-02  9:37 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-26 23:47 [devel] IA: %setup_std_python_package_deps broken Dmitry V. Levin
2006-05-30 22:11 ` Mikhail Zabaluev
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

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