Package: warzone2100 Version: 2.1.0~1.beta5-1 Severity: minor Tags: patch The current debian/watch file doesn't match any of the betas and release candidates provided by upstream. Attached is a patch that expands the regex such that upstream betas and release candidates are matched as well. Additionally it adds a substitution regex which matches and changes the beta/rc part of the version number and changes it to either ~1.beta$NUM or ~1.rc$NUM.
-- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core) Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages warzone2100 depends on: ii libc6 2.7-13 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1 GCC support library ii libgl1-mesa-glx [libgl1] 7.0.3-6 A free implementation of the OpenG ii libglc0 0.7.1-3 QuesoGLC GLC implementation ii libglu1-mesa [libglu1] 7.0.3-6 The OpenGL utility library (GLU) ii libogg0 1.1.3-4 Ogg Bitstream Library ii libopenal1 1:1.4.272-2 Software implementation of the Ope ii libphysfs-1.0-0 1.0.0-5 filesystem abstraction library for ii libpng12-0 1.2.27-1 PNG library - runtime ii libpopt0 1.14-4 lib for parsing cmdline parameters ii libsdl-net1.2 1.2.7-2 network library for Simple DirectM ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3 ii libvorbis0a 1.2.0.dfsg-3.1 The Vorbis General Audio Compressi ii libvorbisfile3 1.2.0.dfsg-3.1 The Vorbis General Audio Compressi ii libx11-6 2:1.1.5-2 X11 client-side library ii warzone2100-data 2.1.0~1.beta5-1 data files for warzone2100 Versions of packages warzone2100 recommends: ii warzone2100-music 1.0-1 music for warzone2100 warzone2100 suggests no packages. -- no debconf information
Index: debian/watch =================================================================== --- debian/watch (revision 8260) +++ debian/watch (working copy) @@ -1,2 +1,3 @@ version=3 -http://download.gna.org/warzone/releases/([\d\.]+)/warzone2100-([\d\.]+)\.tar\.bz2 +opts="uversionmangle=s/[-_](beta|rc)(\d+)/.0~1.$1$2/" \ + http://download.gna.org/warzone/releases/([\d\.]+)/warzone2100-([\d\.]+(?:[-_](?:beta|rc)\d+)?)\.tar\.bz2