Am Sonntag, 31. Januar 2016, 11:48:26 schrieb Andreas Scherer: > using 'svn patch' directly as a drop-in replacement for [patch] I found an example where 'svn patch' does _not_ behave as expected and differently than 'patch' (and other programmes).
When I amend this line https://github.com/ascherer/sgb/blob/local/sgb.spec#L33 with '-S [SCM]' and invoke the rpm specfile with $> debbuild -bp SPECS/sgb.spec all four specified patches are correctly applied with SCM={patch, git, quilt}, but _not_ with SCM=svn (using version 1.8.8 on Linux Mint 17.2). The latter complains about 'skipped missing targets' and doesn't apply the patches. If I remove the '-p1' option in above line 33 (and the resulting '--strip 1'), 'svn patch' works fine. But then SCM=patch hickups (while git and quilt don't seem to mind). Moreover, I noticed the problem with the unapplied patches only after adding the '-v' option in line 33, which suppresses 'svn patch -q'. I feel that the '-q' option should _not_ hide information about such a grave problem. Andreas
signature.asc
Description: This is a digitally signed message part.