Browse Source

Trim python build dependencies and make python-magic arch-all. Closes: #709269

Thanks Scott Kitterman
Christoph Biedl 10 years ago
parent
commit
8853a32b64
1 changed files with 6 additions and 4 deletions
  1. 6 4
      debian/control

+ 6 - 4
debian/control

@@ -4,8 +4,8 @@ Priority: standard
 Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Build-Depends: debhelper (>= 9),
     autotools-dev,
-    python-all-dev,
-    python3-all-dev,
+    python-all,
+    python3-all,
     zlib1g-dev,
 Standards-Version: 3.9.5
 Homepage: http://www.darwinsys.com/file/
@@ -66,9 +66,10 @@ Description: File type determination library using "magic" numbers (development)
 Package: python-magic
 Section: python
 Priority: optional
-Architecture: any
+Architecture: all
 Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends},
-    libmagic1 (= ${binary:Version}),
+    libmagic1 (>= ${binary:Version}),
+    libmagic1 (<< ${binary:Version}.1~),
 Provides: ${python:Provides}
 Description: File type determination library using "magic" numbers (Python bindings)
  This library can be used to classify files according to magic
@@ -83,6 +84,7 @@ Priority: optional
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends},
     libmagic1 (>= ${binary:Version}),
+    libmagic1 (<< ${binary:Version}.1~),
 Provides: ${python3:Provides}
 Description: File type determination library using "magic" numbers (Python 3 bindings)
  This library can be used to classify files according to magic