Re: how to determine the file list for a spec file

"Fulko Hew" <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On Oct 31, 2007 2:06 PM, Bob Proulx <[email protected]> wrote:

> Fulko Hew wrote:
> > If I have a project that I've inherited, and when I
> > run it's make install it scatters files all over the filesystem...
>
> Oh fun...
>
> > Is there an easy way of finding out what files went where,
> > in order to come up with the list of files to put into the %files
> section?
>

... snip ...


> > The project uses 'configure' and I thought I could adjust
> > the -prefix option to 'install' the project into a 'jail' directory
> > that I could just then scan, but the -prefix value tends
> > to be used inside the applications to 'know where they
> > were installed'.
>
> One: If it is a reasonable set of autotools then setting DESTDIR will
> override the installation root.  Look to see if that is available.  If
> so then that is definitely the better of the two things to set.


... snip ...

Thanks! That was the soulution I was looking for,
and what I thought I had with --prefix.

'--prefix' is the wrong answer to my problem,
and DESTDIR is the right answer.

_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.