I guess I should have used a better title for this topic. It should read "rpmbuild prefix question" The question is related to the Prefix funcitonality of rpmbuild spec file -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Smith Jack (Ext. - UGIS - UniCredit Group) Sent: Monday, May 11, 2009 10:43 AM To: redhat-list@xxxxxxxxxx Subject: Prefix question The documentation indicates that it's possible to specify more than one 'prefix' in the spec file, but does not provide an example, or explain how one could use this feature. "Note: You can define more than one Prefix: directive to list more than one top-level directory. " How does one specify the second (or further) prefix Is it simply a matter of something like this: Prefix: /usr/local Prefix: /usr/share wouldn't the second definition over-write the first, or is it cumulative ? or do do something weird (and undocumented) like appending subsequent prefixes with digits as in: Prefix: /usr/local Prefix1: /usr/share or what ? Secondly, once I've defined more than one prefix, what rpm commandline option allows me to relocate the respective values: rpm -Uvh --prefix=/some/path --prefix1=/other/path my_beautiful_package-0.001-1.i386.rpm? Or do I only have the option of specifying one prefix value on the commandline (which limits how flexible the relocation is) ? I look forward to your reply ? -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list