On Mon, 2006-02-27 at 17:54 +0100, Mariano Mediavilla wrote:
> Hello,
>
>
>
> Iÿm newbie at RPM. Iÿm reading a document to learn how
to build a rpm,
> and Iÿm having some troubles creating the file list
under %files
> section. In this document itÿs written the following:
>
>
>
> ´At present, the best way to create the file list is to
read the
> makefile to see what files it installs, verify this
against the files
> installed on the build system, and create the list¡
>
>
>
> As I was said the document was printed some time ago,
Iÿd like to know
> if itÿs provided an easier way of making the file list.
Mimick the actual rpm build process by doing
# DESTDIR=/var/tmp/package-root make install
for *most* Makefiles that should install the package as
if /var/tmp/package-root was the root of the file system.
This will show
you where all files are. You can then place them in the
%files section,
and or separate %files sections like *.h => %files devel
for the devel
package etc..
--
Nathanael D. Noblet
Gnat Solutions
http://www.gnat.ca/
T 250.385.4613
C 250.893.4613
_______________________________________________
Rpm-devel mailing list
Rpm-devel lists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/rpm-devel
a>
|