ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] spec и %def_enable smth-smth
@ 2006-06-13  9:33 Pavlov Konstantin
  2006-06-13  9:42 ` Alexey Rusakov
  0 siblings, 1 reply; 3+ messages in thread
From: Pavlov Konstantin @ 2006-06-13  9:33 UTC (permalink / raw)
  To: devel

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

Всем привет.

Хочется сделать %def_enable word1-word2, чтобы рулить включением-выключением 
опции для configure.

К примеру: %def_enable java-bindings
и далее
%if_enabled java-bindings
BuildRequires: gcc4.1-java libgcj4.1-devel
%endif
и %{subst_enable java-bindings} в configure.

Однако, ничего из этого не срабатывает.
Есть ли мысли, как такое правильно сделать?

-- 
Pavlov Konstantin,
ALT Linux Team,
VideoLAN Team,
jid: thresh@altlinux.org

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

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

end of thread, other threads:[~2006-06-13 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-13  9:33 [devel] spec и %def_enable smth-smth Pavlov Konstantin
2006-06-13  9:42 ` Alexey Rusakov
2006-06-13 10:31   ` Led

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