Browse Source

No longer ship file-dbg, use -dbgsym instead

Christoph Biedl 7 years ago
parent
commit
b7c05eff22
2 changed files with 0 additions and 26 deletions
  1. 0 15
      debian/control
  2. 0 11
      debian/rules

+ 0 - 15
debian/control

@@ -25,21 +25,6 @@ Description: Determines file type using "magic" numbers
  magic number tests, and language tests. The first test that
  succeeds causes the file type to be printed.
 
-Package: file-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Multi-Arch: foreign
-Depends: ${misc:Depends}, ${shlibs:Depends},
-    libmagic1 (= ${binary:Version}),
-Description: Determines file type using "magic" numbers (debug)
- File tests each argument in an attempt to classify it. There are
- three sets of tests, performed in this order: filesystem tests,
- magic number tests, and language tests. The first test that
- succeeds causes the file type to be printed.
- .
- This package contains the debugging symbols.
-
 Package: libmagic1
 Section: libs
 Architecture: any

+ 0 - 11
debian/rules

@@ -105,14 +105,3 @@ ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 else
 	dh_shlibdeps -Llibmagic1 -ldebian/libmagic1/usr/lib
 endif
-
-override_dh_strip:
-ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
-	# use just built file in dh_strip
-	PATH=$(CURDIR)/debian/file/usr/bin:$$PATH \
-		LD_LIBRARY_PATH=$(CURDIR)/debian/libmagic1/usr/lib/$(DEB_HOST_MULTIARCH)$${LD_LIBRARY_PATH+:$${LD_LIBRARY_PATH}} \
-		MAGIC=$(CURDIR)/debian/libmagic1/usr/share/file/magic.mgc \
-		dh_strip --dbg-package=file-dbg
-else
-	dh_strip --dbg-package=file-dbg
-endif