Interesting. I think that's the answer. I have directories in the file
list. So I need to pull them out.
If I have a big tree (that the entire installation is contained within),
with a 900 or so files, what is the easiest way to accomplish a
comprehensive and proper file list?
Thanks again for all the help.
Jeff.
-----Original Message-----
From: rpm-list-***@redhat.com [mailto:rpm-list-***@redhat.com]
On Behalf Of Valery Reznic
Sent: Sunday, August 31, 2008 11:27 PM
To: RPM Package Manager
Subject: Re: File listed twice
Post by Jeffrey SherwinSubject: Re: File listed twice
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
Post by Jeffrey SherwinNo 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.
________________________________
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?
________________________________
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
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
https://www.redhat.com/mailman/listinfo/rpm-list