Package: ncurses
Severity: minor
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ncurses debian/rules calls dh_strip with "-X$(package-dbg)
- -X$(package-dbgw) -X$(package-libw)" where -N should be used.

  -Npackage, --no-package=package                                               
                            
        Do not act on the specified package even if an -a, -i, or -p
        option lists the package as one that should be acted on.     

  -Xitem, --exclude=item
        Exclude files that contain item anywhere in their filename from
        being stripped. You may use this option multiple times to build
        up a list of things to exclude.

Debdiff attached.       

- -- System Information:
Debian Release: squeeze/sid
  APT prefers natty
  APT policy: (999, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-7-generic (SMP w/4 CPU cores)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2Qk/0ACgkQeQ6MlGH/2qteWQCfQ73L9kMs0/GBY0+u4MlFDYLP
LjwAn1A4bdlOZ7w2K2yiwXkuAmNZGKBi
=6DN3
-----END PGP SIGNATURE-----
diff -Nru ncurses-5.7+20101128/debian/changelog ncurses-5.7+20101128/debian/changelog
--- ncurses-5.7+20101128/debian/changelog	2010-12-20 03:41:51.000000000 +0100
+++ ncurses-5.7+20101128/debian/changelog	2011-03-28 15:44:37.000000000 +0200
@@ -1,3 +1,10 @@
+ncurses (5.7+20101128-1ubuntu1) natty; urgency=low
+
+  * Use -N instead of -X to exclude separate -dbg packages from dh_strip call.
+    Change suggested by Martin Pitt.
+
+ -- Marcin Juszkiewicz <marcin.juszkiew...@linaro.org>  Mon, 28 Mar 2011 15:43:29 +0200
+
 ncurses (5.7+20101128-1) experimental; urgency=low
 
   [ Sven Joachim ]
diff -Nru ncurses-5.7+20101128/debian/rules ncurses-5.7+20101128/debian/rules
--- ncurses-5.7+20101128/debian/rules	2010-12-18 13:23:42.000000000 +0100
+++ ncurses-5.7+20101128/debian/rules	2011-03-28 15:43:24.000000000 +0200
@@ -366,8 +366,8 @@
 	dh_installdirs -s
 
 	# Strip the packages, shipping detached debugging symbols. Need to strip
-	# $(package-devw) separately, because -X$(package-libw) excludes it.
-	dh_strip -s -X$(package-dbg) -X$(package-dbgw) -X$(package-libw) \
+	# $(package-devw) separately, because -N$(package-libw) excludes it.
+	dh_strip -s -N$(package-dbg) -N$(package-dbgw) -N$(package-libw) \
 		--dbg-package=$(package-dbg)
 	dh_strip -p$(package-devw)
 	dh_strip -p$(package-libw) --dbg-package=$(package-dbgw)

Reply via email to