Package: netcdf-perl
Version: 1.2.1-7
Severity: wishlist
Tags: patch
Hi,
thanks for maintaining this package.
I just noticed, that netcdf-perl uses a hardcoded dependency instead of
calculating it with dpkg-shlibdeps.
I've attached a small patch, which changes this.
Cheers,
Stefan.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-14-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
diff -Naur netcdf-perl-1.2.1.orig/debian/control
netcdf-perl-1.2.1/debian/control
--- netcdf-perl-1.2.1.orig/debian/control 2006-02-09 21:33:30.000000000
+0100
+++ netcdf-perl-1.2.1/debian/control 2006-02-09 21:59:15.000000000 +0100
@@ -7,7 +7,7 @@
Package: netcdf-perl
Architecture: any
-Depends: perl, netcdfg3
+Depends: perl, ${shlibs:Depends}
Description: A perl extension for accessing netCDF datasets.
netCDFPerl is a port of the netCDF package into a native Perl
extension.
diff -Naur netcdf-perl-1.2.1.orig/debian/rules netcdf-perl-1.2.1/debian/rules
--- netcdf-perl-1.2.1.orig/debian/rules 2006-02-09 21:33:30.000000000 +0100
+++ netcdf-perl-1.2.1/debian/rules 2006-02-09 22:03:36.000000000 +0100
@@ -69,6 +69,8 @@
gzip -9v debian/tmp/usr/share/doc/$(package)/*
gzip -9v debian/tmp/usr/share/man/*/*
install -m 644 debian/copyright debian/tmp/usr/share/doc/$(package)/.
+# calculate shared library dependencies
+ dpkg-shlibdeps `find debian/tmp/usr -perm /u=x -type f`
# Genereate deb file
dpkg-gencontrol -isp
chown -R root.root debian/tmp