[Git][java-team/javatools][master] jh_installibs: Correct VERSION_STRIP regex

Niels Thykier gitlab at salsa.debian.org
Tue Nov 27 21:57:20 GMT 2018


Niels Thykier pushed to branch master at Debian Java Maintainers / javatools


Commits:
df0eda52 by Niels Thykier at 2018-11-27T21:54:11Z
jh_installibs: Correct VERSION_STRIP regex

Signed-off-by: Niels Thykier <niels at thykier.net>

- - - - -


2 changed files:

- debian/changelog
- jh_installlibs


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,8 @@
 javatools (0.72) UNRELEASED; urgency=medium
 
   * Remove obsolete fetch-eclipse-source script.
+  * jh_installlibs: Correct default version mangling regex which
+    failed to handle dfsg versions.  (Closes: #914417)
 
  -- Niels Thykier <niels at thykier.net>  Thu, 22 Nov 2018 14:28:41 +0000
 


=====================================
jh_installlibs
=====================================
@@ -89,7 +89,7 @@ debhelper options documented in L<debhelper(7)>.
 
 my ($UPSTREAM_VERSION, $NO_MANGLE);
 # Strip ds and dfsg in various forms by default.
-my $VERSION_STRIP = '[\.+~-]ds(?:fg)?[0-9]*$';
+my $VERSION_STRIP = '[\.+~-](?:ds|dfsg)[0-9]*$';
 init(options => {
     'upstream-version=s' => \$UPSTREAM_VERSION,
     'no-mangle'          => \$NO_MANGLE,



View it on GitLab: https://salsa.debian.org/java-team/javatools/commit/df0eda523deb1036272126972f3cc0e22a2e0bc5

-- 
View it on GitLab: https://salsa.debian.org/java-team/javatools/commit/df0eda523deb1036272126972f3cc0e22a2e0bc5
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20181127/f8602c8e/attachment.html>


More information about the pkg-java-commits mailing list