From: Victor Forsyuk <victor@ksi-linux.com> To: devel@altlinux.ru Subject: Re: [devel] rpm bug: macros expansion in --changelog and --lastchange options Date: Fri, 22 Nov 2002 12:23:24 +0200 Message-ID: <20021122102324.GB32354@nomad.ksi-linux.com> (raw) In-Reply-To: <000501c29206$3fbfaae0$170ca8c0@kgpi> On Fri, Nov 22, 2002 at 09:05:05AM -0000, Anton Denisov wrote: > Приветствую всех. > Отловил вчера пренеприятнейшую ошибку (или же особенность) в rpm-4.0.4-alt1. Это не ошибка rpm-4.0.4-alt1, это изначальная особенность rpm. > Суть её вот в чём: написал я в changelog'е своего пакета строку %configure > improved, собрал и установил пакет, потом смотрю rpmquery --lastchange > package > а он мне взял и раскрыл %configure. С --changelog ситуация аналогична. Это > ошибка или так и было задумано? Если это такая особенность, то в чём её > смысл? Также плохо, что в строках спека, начинающихся с символа # макросы Смысл в том, что так было проще запрограммировать автору rpm (если, конечно, _это_ можно назвать смыслом ;) > тоже раскрывается, иногда это приводит к плохому содержимому sh файлов, > генерируемых в /var/tmp/ Экранируйте процент удвоением, например: %%configure
next prev parent reply other threads:[~2002-11-22 10:23 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-22 9:05 Anton Denisov 2002-11-22 10:06 ` Alexander Bokovoy 2002-11-22 10:17 ` Dmitry V. Levin 2002-11-22 10:42 ` Andrey Orlov 2002-11-22 10:23 ` Victor Forsyuk [this message] 2002-11-22 12:49 ` aen
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=20021122102324.GB32354@nomad.ksi-linux.com \ --to=victor@ksi-linux.com \ --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