Best practices for patch management on RPM based packages?
Mathieu Bridon
bochecha at fedoraproject.org
Wed Sep 7 01:52:23 UTC 2011
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
More information about the devel
mailing list