ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] rpm macro expansion
@ 2002-10-30 12:46 Sviatoslav Sviridov/Lintec Project
  2002-10-30 12:56 ` Sergey Vlasov
  2002-10-30 13:20 ` Dmitry V. Levin
  0 siblings, 2 replies; 7+ messages in thread
From: Sviatoslav Sviridov/Lintec Project @ 2002-10-30 12:46 UTC (permalink / raw)
  To: devel

Приветствую.

Это нормально, что подстановка макросов происходит даже в том случае, если
в спеке они закоментированы?
Например, при наличии

#%install_info %name.info

производится подстановка пакроса %install_info, и получается

#
for f in  distcc.info; do       
        if [ "$f" = "${f##*/}" ]; then  
                f="/usr/share/info/$f"  
        fi      
        /sbin/install-info --dir-file="${f%/*}/dir" --info-file="$f"    
done    

а если %post закоментирован, то получается ошибка во время сборки пакета.

$ rpm -q rpm
rpm-4.0.4-alt10

BTW, если при выполнении install-info выдаётся предупреждение о том, что
"в `bla-bla-bla' нет вхождения для каталога Info", то это можно спокойно
игнорировать?

-- 
Sviatoslav Sviridov
[mailto:svd@lintec.minsk.by] [ICQ#10845380] [Lintec Project] [MLUG]
--
A couple more shots of whiskey, women 'round here start looking good.

		[something about a 10 being a 4 after a six-pack?  Ed.]


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

end of thread, other threads:[~2002-10-30 19:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-30 12:46 [devel] rpm macro expansion Sviatoslav Sviridov/Lintec Project
2002-10-30 12:56 ` Sergey Vlasov
2002-10-30 13:20   ` Sviatoslav Sviridov/Lintec Project
2002-10-30 13:33     ` Sergey Vlasov
2002-10-30 13:20 ` Dmitry V. Levin
2002-10-30 13:37   ` [devel] " Michael Shigorin
2002-10-30 19:56   ` [devel] " Alexey I. Froloff

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