How can I change the target of an RPM install?

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

 



Thanks. Is this documented anywhere??

devzero2000 wrote:
> Put in ~/.rpmmacros
>
> %_topdir   %(echo $HOME)/rpmbuild (o what you want )
> %_srcrpmdir %{_topdir}/<WHATYOUWANT> the default is SRPMS
>
>
> the useful build macros are (in RHEL/FEDORA)
>
> grep topdir /usr/lib/rpm/macros
> %_builddir              %{_topdir}/BUILD
> %_rpmdir                %{_topdir}/RPMS
> %_sourcedir             %{_topdir}/SOURCES
> %_specdir               %{_topdir}/SPECS
> %_srcrpmdir             %{_topdir}/SRPMS
> %_topdir                %{_usrsrc}/redhat
>
> hth
>
> On Thu, Nov 6, 2008 at 8:10 PM, William Estrada <MrUmunhum at popdial.com 
> <mailto:MrUmunhum at popdial.com>> wrote:
>
>     I don't want to install a source file in the default directory, I want
>     to specify my own target.
>     What RPM option should I use.
>
>     Thanks for your time.
>
>     --
>     William Estrada
>     MrUmunhum at popdial.com <mailto:MrUmunhum at popdial.com>
>     Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
>     Ymessenger: MrUmunhum
>
>
>     _______________________________________________
>     Rpm-list mailing list
>     Rpm-list at lists.rpm.org <mailto:Rpm-list at lists.rpm.org>
>     http://lists.rpm.org/mailman/listinfo/rpm-list
>
>


-- 
William Estrada
MrUmunhum at popdial.com
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum




[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