tags 453220 + patch
thanks

Hi,

Attached is the diff for my ogle 0.9.2-5.1 NMU.
diff -u ogle-0.9.2/debian/rules ogle-0.9.2/debian/rules
--- ogle-0.9.2/debian/rules
+++ ogle-0.9.2/debian/rules
@@ -114,16 +114,7 @@
 	dh_fixperms -s
 	dh_makeshlibs -s --noscripts -V 'ogle'
 	dh_installdeb -s
-	dh_shlibdeps -s -ldebian/ogle/usr/lib/ogle
-
-	#Ugly hack, cannot find anything better. Please help!
-	cd debian; touch ogle-mmx.substvars ogle-altivec.substvars; \
-	sed -r -e "s@,?\s?ogle,?@@" < ogle.substvars > ogle.substvars.new; \
-	mv  ogle.substvars.new ogle.substvars; \
-	sed -r -e "s@,?\s?ogle,?@@" < ogle-mmx.substvars > ogle-mmx.substvars.new; \
-	mv  ogle-mmx.substvars.new ogle-mmx.substvars; \
-	sed -r -e "s@,?\s?ogle,?@@" < ogle-altivec.substvars > ogle-altivec.substvars.new ; \
-	mv ogle-altivec.substvars.new ogle-altivec.substvars;
+	dh_shlibdeps -s -ldebian/ogle/usr/lib/ogle -- -xogle
 
 	dh_gencontrol -s
 	dh_md5sums -s
diff -u ogle-0.9.2/debian/changelog ogle-0.9.2/debian/changelog
--- ogle-0.9.2/debian/changelog
+++ ogle-0.9.2/debian/changelog
@@ -1,3 +1,11 @@
+ogle (0.9.2-5.1) unstable; urgency=low
+
+  * NMU.
+  * Use dpkg-shlibdeps -x option to exclude package instead of hand-made sed
+    script. Closes: #453220
+
+ -- Thadeu Lima de Souza Cascardo <[EMAIL PROTECTED]>  Web, 30 Jan 2008 23:28:50 -0200
+
 ogle (0.9.2-5) unstable; urgency=low
 
   * Now using dpatch to manage patches

Attachment: signature.asc
Description: Digital signature

Reply via email to