Package: libhdf4
Version: 4.2r4-11
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for libhdf4 (versioned as 4.2r4-11.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Cheers

Luk
diff -u libhdf4-4.2r4/debian/control libhdf4-4.2r4/debian/control
--- libhdf4-4.2r4/debian/control
+++ libhdf4-4.2r4/debian/control
@@ -67,7 +67,7 @@
 Architecture: any
 Replaces: libhdf4g-dev (<< 4.2r4-1)
 Conflicts: libhdf4g-dev (<< 4.2r4-1)
-Depends: libhdf4-0 (= ${binary:Version}), zlib1g-dev, libjpeg62-dev, ${misc:Depends}
+Depends: libhdf4-0 (= ${binary:Version}), zlib1g-dev, libjpeg-dev, ${misc:Depends}
 Description: The Hierarchical Data Format library -- development package
  HDF is a multi-object file format for storing and transferring
  graphical and numerical data mainly used in scientific computing. HDF
@@ -126,7 +126,7 @@
 Architecture: any
 Replaces: libhdf4-dev, libhdf4g-dev (<< 4.2r4-1)
 Conflicts: libhdf4-dev, libhdf4g-dev (<< 4.2r4-1)
-Depends: libhdf4-0-alt (= ${binary:Version}), zlib1g-dev, libjpeg62-dev, libnetcdf-dev, ${misc:Depends}
+Depends: libhdf4-0-alt (= ${binary:Version}), zlib1g-dev, libjpeg-dev, libnetcdf-dev, ${misc:Depends}
 Description: The Hierarchical Data Format library -- development package
  HDF is a multi-object file format for storing and transferring
  graphical and numerical data mainly used in scientific computing. HDF
diff -u libhdf4-4.2r4/debian/rules libhdf4-4.2r4/debian/rules
--- libhdf4-4.2r4/debian/rules
+++ libhdf4-4.2r4/debian/rules
@@ -153,7 +153,11 @@
 	for obj in $(DESTDIR)/usr/bin/* $(DESTDIR)/usr/lib/*.so.* $(DESTDIR)/usr/lib-alt/*.so.*; do \
 		chrpath -d $${obj} || true; \
 	done
-	
+
+	# Empty out the dependency field in our .la files
+	for file in $(DESTDIR)/usr/lib/*.la $(DESTDIR)/usr/lib-alt/*.la; do \
+		sed -i -e "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done	
 	# rename programs also provided by netcdf-bin
 	mv $(DESTDIR)/usr/bin/ncdump $(DESTDIR)/usr/bin/ncdump-hdf
 	mv $(DESTDIR)/usr/bin/ncgen $(DESTDIR)/usr/bin/ncgen-hdf
diff -u libhdf4-4.2r4/debian/changelog libhdf4-4.2r4/debian/changelog
--- libhdf4-4.2r4/debian/changelog
+++ libhdf4-4.2r4/debian/changelog
@@ -1,3 +1,11 @@
+libhdf4 (4.2r4-11.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Empty dependency_libs (Closes: #620593, #605002).
+  * Depend on libjpeg-dev (Closes: #629968).
+
+ -- Luk Claes <l...@debian.org>  Mon, 27 Jun 2011 07:52:19 +0200
+
 libhdf4 (4.2r4-11) unstable; urgency=high
 
   * Fixes hdfi.h for SPARC. Thanks Aurelien Jarno.
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to