Re: Best practices for patch management on RPM based packages?

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

 



On Tue, 2011-09-06 at 15:04 -0500, Richard Shaw wrote:
> > On 09/06/2011 09:53 PM, Matej Cepl wrote:
> >> What's wrong with
> >>
> >> quilt setup specname.spec
> 
> Because rpmbuild segregates everything, quilt doesn't seem to know how
> to handle that.
> 
> When you create the directory tree for rpmbuild it (at some point) creates:
> 
> BUILD
> BUILDROOT
> RPMS
> SOURCES
> SPECS
> SRPMS
> 
> Of course the only ones of intrest to quilt is SOURCES and SPECS but
> that means they are not in the same directory.

I have this in my ~/.rpmmacros:
%_topdir    %(pwd)
%_sourcedir %(pwd)
%_specdir   %(pwd)
%_srcrpmdir %(pwd)

This way, I simply do:
$ fedpkg clone foobar
$ cd foobar

And I can rpmbuild directly in the git tree.

Hope that helps.


-- 
Mathieu


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux