Package: libexpat1-dev
Version: 2.0.1-7.1
Followup-For: Bug #647340

Attached is a patch that also move the .so to /lib.

I also attach one that avoid installing the .la files that should not
be installed and still point to /usr/lib .

python2.7 "only" need a small fix to the one of its debian patch to also 
look in /lib after that. Then elementtree extension build.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0test0 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libexpat1-dev depends on:
ii  libc6-dev [libc-dev]  2.13-21  
ii  libexpat1             2.0.1-7.1

libexpat1-dev recommends no packages.

libexpat1-dev suggests no packages.

-- no debconf information
diff -uNr a/debian/libexpat1-dev.install b/debian/libexpat1-dev.install
--- a/debian/libexpat1-dev.install	2011-11-02 06:22:35.000000000 +0100
+++ b/debian/libexpat1-dev.install	2011-11-02 06:25:55.243309093 +0100
@@ -1,6 +1,6 @@
 usr/include
 usr/lib/*/*.a
 usr/lib/*/*.la
-usr/lib/*/*.so
+lib/*/*.so
 ../../doc/*	usr/share/doc/libexpat1-dev/expat.html/
 ../../conftools/expat.m4 usr/share/aclocal/
Les fichiers binaires a/debian/.libexpat1-dev.install.swp et b/debian/.libexpat1-dev.install.swp sont différents
diff -uNr a/debian/rules b/debian/rules
--- a/debian/rules	2011-11-02 06:22:35.000000000 +0100
+++ b/debian/rules	2011-11-02 06:17:09.700488701 +0100
@@ -99,7 +99,7 @@
 endif
 	# Move to /lib so that zfsutils can use it.
 	mkdir -p $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)
-	mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so.* \
+	mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so* \
 		$(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/
 
 binary-indep: build install
diff -uNr a/debian/libexpat1-dev.install b/debian/libexpat1-dev.install
--- a/debian/libexpat1-dev.install	2011-11-02 06:25:55.243309093 +0100
+++ b/debian/libexpat1-dev.install	2011-11-02 06:27:09.192834061 +0100
@@ -1,6 +1,5 @@
 usr/include
 usr/lib/*/*.a
-usr/lib/*/*.la
 lib/*/*.so
 ../../doc/*	usr/share/doc/libexpat1-dev/expat.html/
 ../../conftools/expat.m4 usr/share/aclocal/
Les fichiers binaires a/debian/.libexpat1-dev.install.swp et b/debian/.libexpat1-dev.install.swp sont différents

Reply via email to