using debian patches directly

Ville Skyttä ville.skytta at iki.fi
Tue Jan 2 22:45:12 UTC 2007


On Wednesday 03 January 2007 00:30, Patrice Dumas wrote:

> When the debian patcheset don't interfere with the upstream package (that
> is it only installs files below the debian directory), I generally include
> it in the package, and, for example use the manpages. Sometimes there are
> also interesting patches. I can copy them and use the usual Patch: and
> %patch, but it duplicates the patch. Would it be right to call patch
> directly on the file in the debian patcheset, or would it be a bad idea?

Just call it directly, eg. %{__patch} -i debian/patches/foo.patch (-i instead 
of < results the filename being visible in the build log which may be 
useful).




More information about the fedora-extras-list mailing list