THRIFT-3460 Improve provided Debian packaging solution
Patch: Filip Chabik & Roger Meier
This closes #721
diff --git a/debian/control b/debian/control
index 7f997b2..74cbb58 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: thrift
Section: devel
Priority: extra
-Build-Depends: debhelper (>= 5), build-essential, mono-gmcs, python-dev, ant,
+Build-Depends: debhelper (>= 9), build-essential, mono-gmcs, python-dev, ant,
mono-devel, libmono-system-web2.0-cil, erlang-base, ruby-dev | ruby1.9.1-dev, autoconf, automake,
pkg-config, libtool, bison, flex, libboost-dev | libboost1.53-dev, python-all,
python-all-dev, python-all-dbg, openjdk-6-jdk | java-sdk,
@@ -11,8 +11,8 @@
Homepage: http://thrift.apache.org/
Vcs-Git: https://git-wip-us.apache.org/repos/asf/thrift.git
Vcs-Browser: https://git-wip-us.apache.org/repos/asf?p=thrift.git
-Standards-Version: 3.7.2
-X-Python-Version: >= 2.6
+Standards-Version: 3.9.5
+X-Python-Version: >= 2.7
Package: thrift-compiler
Architecture: any
@@ -44,7 +44,7 @@
Package: python-thrift-dbg
Architecture: any
-Section: python
+Section: debug
Depends: ${shlibs:Depends}, ${misc:Depends}, python-thrift (= ${binary:Version}), python-all-dbg
Provides: ${python:Provides}
Description: Python bindings for Thrift (debug version)
@@ -76,7 +76,7 @@
Package: libthrift-java
Architecture: all
-Section: libs
+Section: java
Depends: java-gcj-compat | java1-runtime | java2-runtime, ${misc:Depends}
Description: Java bindings for Thrift
Thrift is a software framework for scalable cross-language services
@@ -90,7 +90,7 @@
Package: libthrift-cil
Architecture: all
-Section: libs
+Section: cli-mono
Depends: cli-common, libmono-corlib1.0-cil (>= 1.0), libmono-system1.0-cil (>= 1.0),
libmono-system-web2.0-cil, ${misc:Depends}
Description: CLI bindings for Thrift
@@ -131,7 +131,7 @@
Package: libthrift-dev
Architecture: any
Section: libdevel
-Depends: ${shlibs:Depends}, ${misc:Depends}, libthrift0, libglib2.0-dev
+Depends: ${shlibs:Depends}, ${misc:Depends}, libthrift0 (= ${binary:Version}), libglib2.0-dev
Description: Thrift C++ library (development headers)
Thrift is a software framework for scalable cross-language services
development. It combines a software stack with a code generation engine to