Loading...

rpm-list@redhat.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: File listed twice Valery Reznic Mon Sep 01 06:05:26 2008



--- On Mon, 9/1/08, Jeffrey Sherwin <[EMAIL PROTECTED]> wrote:

> From: Jeffrey Sherwin <[EMAIL PROTECTED]>
> Subject: Re: File listed twice
> To: [EMAIL PROTECTED]
> Date: Monday, September 1, 2008, 4:59 AM
> Nope. 
> 
> I'm on an isolated machine, did the install manually
> and a find * from the app root directory afterwards, and
> pumped that list into the %files section of the spec.
If you did 'find *' then your filelist contains both files and directories.
But if you specify directory in the %files than rpmbuild by itself added all 
files under this dir. And they are found by find too. Her you go - files found 
twice. In order to avoid it you have to specify directories with %dir attribute.
Or don't list files under any directory.
i.e instead of 'find *' you can use 'ls -1'

Valery

> 
> No file is listed twice in that listing, and the warning
> messages come for a single file in groups of 2-5.
> 
> There is no makefile and no installation script for this,
> just a untar and a bunch of file moves.
> 
> Jeff.
> 
> 
> 
> ________________________________
> 
> From: [EMAIL PROTECTED] 
> To: [EMAIL PROTECTED] 
> Sent: Sun Aug 31 21:37:02 2008
> Subject: Re: File listed twice 
> 
> 
> Are you listing files twice? Maybe specifically and
> captured by a glob?
> 
> ________________________________
> 
> From: [EMAIL PROTECTED] 
> To: [EMAIL PROTECTED] 
> Sent: Sun Aug 31 19:24:43 2008
> Subject: File listed twice 
> 
> 
> Hi, 
> 
>  
> 
> I am trying to build RPM files for my software, and keep
> seeing warnings during the rpmbuild process:
> 
>  
> 
> warning: File listed twice: [file name]
> 
>  
> 
> I see this repeatedly for each file (and there are many). I
> recognize this may be the result of testing my build spec
> over and over again, but how do I clear those errors out?
> Where are the files being listed twice? These files are not
> listed twice in the %files list.
> 
>  
> 
> I am working on i386 Redhat 5ES. 
> 
>  
> 
> Thanks,
> 
>  
> 
> Jeff.
> 
>  
> 
> 
> ______________________________________________________________________
> This message contains information which may be confidential
> and/or privileged. Unless you are the intended recipient (or
> authorized to receive for the intended recipient), you may
> not read, use, copy or disclose to anyone the message or any
> information contained in the message. If you have received
> the message in error, please advise the sender by reply
> e-mail and delete the message and any attachment(s) thereto
> without retaining any copies.
> ______________________________________________________________________
> 
> _______________________________________________
> Rpm-list mailing list
> [EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/rpm-list


      

_______________________________________________
Rpm-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/rpm-list