Changelog: Don't overwrite $SERIES if it is already set. After thinking about it, I am not so sure if this is a good idea though. Using different 'patches' directories and setting $QUILT_PATCHES is probably a better idea. %diffstat patchfns.in | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) %patch Index: cvs/scripts/patchfns.in =================================================================== --- cvs.orig/scripts/patchfns.in 2003-11-04 16:53:16.000000000 +0100 +++ cvs/scripts/patchfns.in 2004-01-11 14:24:30.000000000 +0100 @@ -17,7 +17,10 @@ : ${QUILT_PATCHES:=patches} -if [ -e .pc/series ] +if [ -n "$SERIES" ] +then + : +elif [ -e .pc/series ] then SERIES=.pc/series elif [ -e series ]