Browse Source

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

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