Package: petsc-dev
Severity: normal

Hi!


When running uscan within the source of petsc-dev, it does not
understand that the upstream 3.4.3 is newer than the current
version. It prints:


Newest version on remote site is 3.4.3, local version is 3.4.2.dfsg1
 (mangled local version number 3.4.21)
  => remote site does not even have current version

  
Looking at debian/watch, the regular expression doesn't seem to
remove the digit after "dsfg", so it concludes that the current
version is 3.4.21, which is incorrect and should be 3.4.2. I'm
not expert on regular expressions, but the following patch seems
to fix the problem:


--- debian/watch.old    2013-11-22 00:44:43.131713799 +0100
+++ debian/watch        2013-11-22 00:38:14.679707501 +0100
@@ -1,3 +1,3 @@
 version=3
-opts=dversionmangle=s/\.dfsg// \
+opts=dversionmangle=s/\.dfsg\d// \
  http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-([\d\.]+).tar.gz


Best regards
Torquil Sørensen

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to