Richard Shaw <hobbes1...@gmail.com> writes: > I like the idea of quilt but I can't seem to find the magic recipe to > get it to integrate with rpmbuild.
I use an %apply macro in ways like | %apply -n4 -p1 which is equivalent to | %patch4 -p1 on ordinary hosts. But defining this macro as | %apply(p:n:b:) \ | if test -n "$RPM_NO_DEVEL"; then \ | %patch%{-n:%{-n*}} %-p %-b \ | else \ | quilt import %-p %{!-p:-p 0} %{P:%{-n*}} \ | quilt push -f; \ | fi \ | %nil in ~/.rpmmacros allows the management of patches by 'quilt'. See e.g. http://pkgs.fedoraproject.org/gitweb/?p=milter-greylist.git;a=blob;f=milter-greylist.spec;hb=HEAD for the definition of %apply. Enrico -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel