How can I change the target of an RPM install?

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

 



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>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
> Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
> Ymessenger: MrUmunhum
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-list/attachments/20081107/9b505041/attachment.htm 


[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