ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Развёртывание макросов в %files
@ 2005-10-17 17:51 Alexey Rusakov
  2005-10-17 17:58 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Rusakov @ 2005-10-17 17:51 UTC (permalink / raw)
  To: ALT Devel discussion list

Доброго времени суток.

Захотелось сделать вот какую вещь. Есть список basename'ов файлов:

%define schemas desktop_default_applications desktop_gnome_url_handlers 
system_http_proxy system_smb system_dns_sd system_storage

Нужно: указать в секции %files

%config %_sysconfdir/gconf/schemas/{%schemas}.schemas

так, чтобы {%schemas} развернулось в маску файлов, соответствующих 
перечисленным в %schemas basename'ам. Надеюсь, понятно, чего я хочу. 
Может кто-нибудь помочь с написанием этой строчки? Я попробовал сделать

%config %_sysconfdir/gconf/schemas/{%(echo %schemas | sed -e 's/ 
/,/g')}.schemas

но такое не развернуло внешние фигурные скобки.

-- 
  Alexey "Ktirf" Rusakov


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

end of thread, other threads:[~2005-10-17 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-17 17:51 [devel] Развёртывание макросов в %files Alexey Rusakov
2005-10-17 17:58 ` Dmitry V. Levin

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