ソースを参照

No longer ship file-dbg, use -dbgsym instead

Christoph Biedl 7 年 前
コミット
b7c05eff22
2 ファイル変更0 行追加26 行削除
  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
  magic number tests, and language tests. The first test that
  succeeds causes the file type to be printed.
  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
 Package: libmagic1
 Section: libs
 Section: libs
 Architecture: any
 Architecture: any

+ 0 - 11
debian/rules

@@ -105,14 +105,3 @@ ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 else
 else
 	dh_shlibdeps -Llibmagic1 -ldebian/libmagic1/usr/lib
 	dh_shlibdeps -Llibmagic1 -ldebian/libmagic1/usr/lib
 endif
 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