Re: noobie question about including any file in my rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob Proulx wrote:

Typically in the spec file you will find a %install section.  In the
%install section you will find a %makeinstall macro that will expand
to be 'make install DEST=$RPM_BUILD_ROOT' which will copy files with
the gnu automake makefile to the $RPM_BUILD_ROOT area.  That would
probably be a good place to also copy your additional file.

  %install
  %makeinstall
  cp my_special_etc_file $RPM_BUILD_ROOT/etc/
  cp my_special_bin_file $RPM_BUILD_ROOT/usr/bin/

Bob

That worked fine, thanks!

Doug P

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux