ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@altlinux.ru>
To: devel@altlinux.ru
Subject: Re: [devel] " File listed twice " error in spec-file
Date: Tue, 28 Sep 2004 17:44:22 +0400
Message-ID: <20040928134422.GE1595@workstation> (raw)
In-Reply-To: <E1CC8J3-000Ju5-00.ilya_evseev-mail-ru@f22.mail.ru>

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

On Tue, Sep 28, 2004 at 07:05:33AM +0400, Илья Евсеев  wrote:
 ИЕ> Допустим, в секции %files написано следующее:
 ИЕ>   %db_dir
 ИЕ>   %verify(not mtime size md5) %db_dir/current_state.db
 ИЕ> Rpmbuild выдает предупреждение "Файл указан дважды" - ну и хрен с ним.
 ИЕ> Однако злобный Инкоминг это считает уже ошибкой и обламывает меня.
 ИЕ> Как же быть? Можно, конечно, тупо убрать отдельную запись
 ИЕ> для current_state.db, но это же извращение!

Первую строчку замени на '%dir %db_dir', это означает "каталог без
содержимого", и уже тогда второй строчкой ты добавляешь файл.

-- 
С уважением, Денис

http://freesource.info


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

  parent reply	other threads:[~2004-09-28 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-28  3:05 Илья Евсеев 
2004-09-28  5:30 ` Alexey I. Froloff
2004-09-28 13:44 ` Денис Смирнов [this message]
2004-09-28 14:53 ` Dmitry V. Levin

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=20040928134422.GE1595@workstation \
    --to=mithraen@altlinux.ru \
    --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