tags 309093 + patch
thanks

On 2005-05-21, Roger Leigh wrote:
> I took a look at the patch you posted to -release.  I found a problem
> with it.  You need to use the -l and -L option to dh_shlibdeps to make
> it use the shlibs files generated by dh_makeshlibs.  For example
> 
> - -l$(CURDIR)debian/libsomaplayer0/usr/lib:$(CURDIR)debian/libsds0/usr/lib
> 
> I also looked at djpig's patch in the BTS.  I'm not convinced that the
> temporary debian/shlibs.complete files is needed.  I've certainly
> never needed to do this for packages with multiple shared libs.

I am attaching a small patch that just fixes this bug and does nothing
else. Maybe that can be accepted for sarge.

Regards,
Torsten

diff -ruN somaplayer-0.5.2/debian/changelog 
somaplayer-0.5.2-new/debian/changelog
--- somaplayer-0.5.2/debian/changelog   2005-05-22 00:18:13.946101152 +0200
+++ somaplayer-0.5.2-new/debian/changelog       2005-05-22 00:17:34.000000000 
+0200
@@ -1,3 +1,10 @@
+somaplayer (0.5.2-1.1) unstable; urgency=low
+
+  * NMU, calculates correct Depends:, closes: 309093
+  * changed major lib version in debian/*.shlibs from 1 to 0
+
+ -- Torsten Werner <[EMAIL PROTECTED]>  Sun, 22 May 2005 00:16:34 +0200
+
 somaplayer (0.5.2-1) unstable; urgency=low
 
   * New upstream.
diff -ruN somaplayer-0.5.2/debian/libsds0.shlibs 
somaplayer-0.5.2-new/debian/libsds0.shlibs
--- somaplayer-0.5.2/debian/libsds0.shlibs      2005-05-22 00:18:13.948100848 
+0200
+++ somaplayer-0.5.2-new/debian/libsds0.shlibs  2005-05-22 00:10:25.338340360 
+0200
@@ -1,2 +1,2 @@
-libsds 1 libsds0 (=  ${VERSION} )
-libsdsdsp 1 libsds0 (=  ${VERSION} )
+libsds 0 libsds0 (=  ${VERSION} )
+libsdsdsp 0 libsds0 (=  ${VERSION} )
diff -ruN somaplayer-0.5.2/debian/libsomaplayer0.shlibs 
somaplayer-0.5.2-new/debian/libsomaplayer0.shlibs
--- somaplayer-0.5.2/debian/libsomaplayer0.shlibs       2005-05-22 
00:18:13.948100848 +0200
+++ somaplayer-0.5.2-new/debian/libsomaplayer0.shlibs   2005-05-22 
00:10:32.000000000 +0200
@@ -1 +1 @@
-libsomaplayer 1 libsomaplayer0 (= ${VERSION} )
+libsomaplayer 0 libsomaplayer0 (= ${VERSION} )
diff -ruN somaplayer-0.5.2/debian/rules somaplayer-0.5.2-new/debian/rules
--- somaplayer-0.5.2/debian/rules       2005-05-22 00:18:13.945101304 +0200
+++ somaplayer-0.5.2-new/debian/rules   2005-05-21 23:48:57.000000000 +0200
@@ -169,7 +169,7 @@
        dh_compress -a
        dh_fixperms -a
        dh_installdeb -a
-       dh_shlibdeps -a
+       dh_shlibdeps -a -L libsds0 -l debian/libsds0/usr/lib -L libsomaplayer0 
-l debian/libsomaplayer0/usr/lib
        dh_gencontrol -a -- -VVERSION="$(VERSION)"
        dh_md5sums -a
        dh_builddeb -a

Reply via email to