Hi, I assume you want to relocate your package. If yes, u can use the variable %{prefix} This takes by default the directory set in the header section Prefix: /opt/test By doing this, u get the advantage that the user can specify any other directory while installation by specifying as follows rpm -i --prefix /home/test <pkgname> With this user has flexibility to either default the installation to /opt/test or any other directory like /home/test. Hope it answers your question. Regs, Manjula -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Aamer Akhter Sent: Sunday, August 01, 2004 8:02 AM To: rpm-list@xxxxxxxxxx Subject: varibale based %files Hello, Is it possible to have dynamic/variable based files in the %files section: eg: %files %{projRoot}/lib/bobo.so %{projRoot}/lib/shimbo.so projRoot is already set in the shell environment, and I suppose I could base a define off of it... -- Aamer Akhter / aakhter@xxxxxxxxx _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list