summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_illumos_gate4
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index c465ed3..b91100d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-illumos (9.5.12) unstable; urgency=medium
+
+ * dh_illumos_gate support versions like 5.10.6.gitXYZ+1
+
+ -- Igor Pashev <pashev.igor@gmail.com> Wed, 07 Oct 2015 16:40:28 +0300
+
dh-illumos (9.5.11) unstable; urgency=medium
* ld-gnu-to-sun: filter out -plugin options
diff --git a/dh_illumos_gate b/dh_illumos_gate
index 12d15e2..76ee1b1 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -118,11 +118,11 @@ my $changelog = changelog_parse(%options);
my $version = $changelog->{'Version'};
my $VER;
-if ($version =~ /^(\d+\.\d+).*$/) {
+if ($version =~ /^(\d+(\.\d+)+(\.git\w+)?).*$/) {
$VER = $1;
} else {
error("Could not determine illumos source version from changelog. "
- ."It should be like 2.10+1, but it is '$version'");
+ ."It should be like 5.10.6.gitXYZ+1, but it is '$version'");
}
my $tarball = "/usr/src/illumos-gate/illumos-gate-$VER.tar.xz";