tags 654821 + pending
tags 684019 + patch
tags 684019 + pending
thanks

Dear maintainer,

I've prepared an NMU for lcms (versioned as 1.19.dfsg-1.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Donovan: Maria Magenta
diff -u lcms-1.19.dfsg/debian/liblcms1-dev.install lcms-1.19.dfsg/debian/liblcms1-dev.install
--- lcms-1.19.dfsg/debian/liblcms1-dev.install
+++ lcms-1.19.dfsg/debian/liblcms1-dev.install
@@ -1,5 +1,4 @@
 debian/tmp/usr/include/* usr/include/
 debian/tmp/usr/lib/*/*.a
-debian/tmp/usr/lib/*/*.la
 debian/tmp/usr/lib/*/*.so
 debian/tmp/usr/lib/*/pkgconfig
diff -u lcms-1.19.dfsg/debian/rules lcms-1.19.dfsg/debian/rules
--- lcms-1.19.dfsg/debian/rules
+++ lcms-1.19.dfsg/debian/rules
@@ -33,9 +33,9 @@
 ifeq ($(ARCH),powerpc)
 	echo "#define USE_BIG_ENDIAN" >include/lcms-endian.h
 endif
-	CFLAGS=$(CFLAGS) ./configure --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --with-python
+	./configure $(shell dpkg-buildflags --export=configure) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --with-python
 	cd python && ./swig_lcms && cd ..
-	make CFLAGS=$(CFLAGS)
+	make
 	touch build-stamp
 
 clean: 
@@ -52,8 +52,8 @@
 	dh_clean -k
 	dh_installdirs
 	make DESTDIR=`pwd`/debian/tmp install
-	rm -rf `pwd`/debian/tmp/usr/lib/python*/site-packages/*.a \
-	`pwd`/debian/tmp/usr/lib/python*/site-packages/*.la
+	rm -f `pwd`/debian/tmp/usr/lib/python*/*-packages/*.a \
+	`pwd`/debian/tmp/usr/lib/python*/*-packages/*.la
 
 # Build architecture-independent files here.
 binary-indep: build install
diff -u lcms-1.19.dfsg/debian/changelog lcms-1.19.dfsg/debian/changelog
--- lcms-1.19.dfsg/debian/changelog
+++ lcms-1.19.dfsg/debian/changelog
@@ -1,3 +1,21 @@
+lcms (1.19.dfsg-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "static library in /usr/share": 
+    debian/rules: re-enable removal of .a and .la files from the
+    python-liblcms packages (they get installed to dist-packages instead of
+    site-packages now).
+    (Closes: #684019)
+  * Fix "Please enabled hardened build flags":
+    debian/rules: apply updated patch from Moritz Muehlenhoff: use
+    dpkg-buildflags to get all *FLAGS.
+    (Release goal, closes: #654821)
+  * debian/liblcms1-dev.install: don't install not-dependend-on .la file
+    anymore.
+    (Release goal)
+
+ -- gregor herrmann <[email protected]>  Sun, 26 Aug 2012 16:37:14 +0200
+
 lcms (1.19.dfsg-1.1) unstable; urgency=low
 
   * Non-maintainer upload.

Attachment: signature.asc
Description: Digital signature

Reply via email to