From bf79e6fa88299e4452520195ac6f298a6989e825 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 27 Nov 2000 20:22:59 +0000 Subject: [PATCH] r395: * dh_makeshlibs: corrected the evil db3-regex so it doesn't misfire on data like "debian/libruby/usr/lib/ruby/1.6/i486-linux/etc.so". Closes: #78139 --- debian/changelog | 8 ++++++++ dh_makeshlibs | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c43333a..54c6a39 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debhelper (2.2.2) unstable; urgency=low + + * dh_makeshlibs: corrected the evil db3-regex so it doesn't misfire on + data like "debian/libruby/usr/lib/ruby/1.6/i486-linux/etc.so". + Closes: #78139 + + -- Joey Hess Mon, 27 Nov 2000 12:21:53 -0800 + debhelper (2.2.1) unstable; urgency=low * Reverted the change to make debian/README be treated as README.Debian, diff --git a/dh_makeshlibs b/dh_makeshlibs index 1b50ea1..8f3e7a7 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -19,7 +19,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $need_ldconfig=1; # The second evil regexp is for db3, whose author should # be shot. - if (m#.*/(.*)\.so\.(\d*)\.?# || m#.*/(.*)-(\S+)\.so$#) { + if (m#.*/([^/]*)\.so\.(\d*)\.?# || m#.*/([^/]*)-([^\s/]+)\.so$#) { $library = $1; $major = $2; } -- 2.39.2