Re: rpmmacros for separating package sources?

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

 



On Thu, 29 Apr 2004, Tres Seaver wrote:

> James Olin Oden wrote:
> > On Thu, 29 Apr 2004, Jason L Tibbitts III wrote:
> > 
> > 
> >>Recently on one of the Fedora or Red Hat lists I saw mention of a
> >>script that sets up your .rpmmacros file so that when you install an
> >>srpm the sources and the specfile are placed in their own directory in
> >>your build tree.  Unfortunately I've searched all over and I just
> >>can't find the reference again.  Would anyone happen to have any idea
> >>of what I'm talking about?
> >>
> > 
> > You just need to put in ~/.rpmmacros:
> > 
> > 	%_topdir	/some/place/you/want/things/to/go
> > 
> > You then have create the directory %_topdir points to, and the
> > other directories that would be under %_topdir (i.e. SOURCES, BUILD, 
> > SPECS, ect.).
> 
> I think Jason is looking for the version which puts sources and spec for 
> a package in a single, package-specific directory.  Here is what I have 
> in my ~/.rpmmacros:
>
Yeah, cpanflute2 does that (in cpan module RPM::Specfile), so that is 
another example of automating exactly this.

Cheers...james 


_______________________________________________
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