]> git.pld-linux.org Git - packages/apt-dater.git/blobdiff - kernel-pld-longterm.patch
match pld kernel-longterm packages
[packages/apt-dater.git] / kernel-pld-longterm.patch
diff --git a/kernel-pld-longterm.patch b/kernel-pld-longterm.patch
new file mode 100644 (file)
index 0000000..f2674eb
--- /dev/null
@@ -0,0 +1,14 @@
+patch to find "-longterm" from "3.4.51.longterm-1"
+
+--- apt-dater-0.9.0/clients/rpm/apt-dater-host 2012-05-28 23:33:34.000000000 +0300
++++ apt-dater-0.9.0/clients/rpm/apt-dater-host 2013-09-10 00:37:00.000000000 +0300
+@@ -155,8 +155,8 @@
+     my $ver = $version;
+     my $rel = '';
+     my $add = '';
+-    $add = $1 if($version =~ /([a-z]+)$/);
++    $add = $1 if($version =~ /([a-z]+)(?:-\d+)?$/);
+     ($ver, $rel) = ($1, $2) if($version =~ /(.+)-([^-]+)$add$/);
+     $add = "-$add" if($add);
This page took 0.057068 seconds and 4 git commands to generate.