Commit 136a18804c34062c0e6078a963832346c22542d5

Authored by Stéphane Raimbault
1 parent 00cb49e3

Rename package to libmodbus5 to fix lintian warning

Patch provided by Ivo De Decker <Ivo.DeDecker@UGent.be>.
Debian library packaging guide states "The package name should match the
shared library SONAME"
(http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html)
debian/control
@@ -6,7 +6,7 @@ Section: libs @@ -6,7 +6,7 @@ Section: libs
6 Build-Depends: debhelper (>= 6), cdbs (>= 0.4.43), autotools-dev, libtool, dpkg-dev (>= 1.13.19), asciidoc 6 Build-Depends: debhelper (>= 6), cdbs (>= 0.4.43), autotools-dev, libtool, dpkg-dev (>= 1.13.19), asciidoc
7 Homepage: http://libmodbus.org/ 7 Homepage: http://libmodbus.org/
8 8
9 -Package: libmodbus 9 +Package: libmodbus5
10 Section: libs 10 Section: libs
11 Architecture: any 11 Architecture: any
12 Depends: ${shlibs:Depends}, ${misc:Depends} 12 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -20,7 +20,7 @@ Description: library for the Modbus protocol @@ -20,7 +20,7 @@ Description: library for the Modbus protocol
20 Package: libmodbus-dev 20 Package: libmodbus-dev
21 Section: libdevel 21 Section: libdevel
22 Architecture: any 22 Architecture: any
23 -Depends: libmodbus (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} 23 +Depends: libmodbus5 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
24 Description: library for the Modbus protocol 24 Description: library for the Modbus protocol
25 A Modbus library written in C, to send/receive data with a device which 25 A Modbus library written in C, to send/receive data with a device which
26 respects the Modbus protocol. This library can use a serial port or an 26 respects the Modbus protocol. This library can use a serial port or an
debian/libmodbus.install renamed to debian/libmodbus5.install