how to determine the file list for a spec file

"Fulko Hew" <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
I have a generic question...

If I have a project that I've inherited, and when I
run it's make install it scatters files all over the filesystem...

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?

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'.  So after I've done my RPM packaging excercise
and installed the RPM, it still thinks its running in my jail
directory rather than the 'installed' directory.

There has to be an easy way!
How does everyone else do it?

TIA
Fulko

_______________________________________________
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.