RE: File listed twice
"Jeffrey Sherwin" <[email protected]> Mon, 1 Sep 2008 00:54:21 -0400
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
Interesting. I think that's the answer. I have directories in the file list. So I need to pull them out.=20 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: [email protected] [mailto:[email protected]] On Behalf Of Valery Reznic Sent: Sunday, August 31, 2008 11:27 PM To: RPM Package Manager Subject: Re: File listed twice --- 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.=20 >=20 > 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 >=20 > No file is listed twice in that listing, and the warning > messages come for a single file in groups of 2-5. >=20 > There is no makefile and no installation script for this, > just a untar and a bunch of file moves. >=20 > Jeff. >=20 >=20 >=20 > ________________________________ >=20 > From: [email protected]=20 > To: [email protected]=20 > Sent: Sun Aug 31 21:37:02 2008 > Subject: Re: File listed twice=20 >=20 >=20 > Are you listing files twice? Maybe specifically and > captured by a glob? >=20 > ________________________________ >=20 > From: [email protected]=20 > To: [email protected]=20 > Sent: Sun Aug 31 19:24:43 2008 > Subject: File listed twice=20 >=20 >=20 > Hi,=20 >=20 > =20 >=20 > I am trying to build RPM files for my software, and keep > seeing warnings during the rpmbuild process: >=20 > =20 >=20 > warning: File listed twice: [file name] >=20 > =20 >=20 > 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. >=20 > =20 >=20 > I am working on i386 Redhat 5ES.=20 >=20 > =20 >=20 > Thanks, >=20 > =20 >=20 > Jeff. >=20 > =20 >=20 >=20 > ______________________________________________________________________ > 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. > ______________________________________________________________________ >=20 > _______________________________________________ > Rpm-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rpm-list =20 _______________________________________________ Rpm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rpm-list