openSUSE/obs-service-refresh_patches — pull request #2 by vuntz (2013-12-10 09:10:27+00:00)
Title: Do not list twice patches in .changes entry

Right now, we get something like:

=========
- Rebased patches:
+ patches/hide-unneeded-options.patch (only offset)
+ hide-unneeded-options.patch (manually)
=========

This is obviously wrong.

This is using os.path.basename instead of changing the regexp, to be on
the totally safe side in case there's another path than patch/ for
quilt.