Re: [RFH] Managing the rpm/{SPECS,SOURCES} namespace

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

 



On Thu, Nov 11, 2004 at 05:49:57PM -0500, Dimitrie O. Paun wrote:
> This is all good, but what happens when we install a bunch of .src.rpm's?
> How is the rpm/{SPECS,SOURCES} namespace managed? What guarantee do we 
> have that packages will not have conflicting source/patch filenames.
> For example, the "genkey" and "COPYING.modules" files seem pretty likely
> to conflict with other packages. If that is the case, how can one build
> binary rpms concurrently? Am I missing something?

For that reason, I specify a different directory organization in
my ~/.rpmmacros file that incorporates %{name} in the path:

%_topdir                /home/rugolsky/rpm
%_rpmtopdir             %{_topdir}/pkgs/%{name}
%_sourcedir             %{_rpmtopdir}
%_specdir               %{_rpmtopdir}

%_tmppath               %{_topdir}/install
%_builddir              %{_topdir}/build
%_rpmdir                %{_topdir}/rpms
%_srcrpmdir             %{_topdir}/rpms/srpms

This breaks the occasional package, but is otherwise well worth it.

Regards,

	Bill Rugolsky

_______________________________________________
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