ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sviatoslav Sviridov/Lintec Project <svd@lintec.minsk.by>
To: devel@altlinux.ru
Subject: [devel] rpm macro expansion
Date: Wed, 30 Oct 2002 14:46:31 +0200
Message-ID: <20021030144631.04ba5ea6.svd@lintec.minsk.by> (raw)

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

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

#%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.]


             reply	other threads:[~2002-10-30 12:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30 12:46 Sviatoslav Sviridov/Lintec Project [this message]
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

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=20021030144631.04ba5ea6.svd@lintec.minsk.by \
    --to=svd@lintec.minsk.by \
    --cc=devel@altlinux.ru \
    /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