[Pkg-kde-commits] rev 286 - in people/dato/packages/trunk/amarok/debian: . bug

Adeodato Sim?? dato-guest@haydn.debian.org
Thu, 09 Dec 2004 11:21:43 -0700


Author: dato-guest
Date: 2004-12-09 11:21:35 -0700 (Thu, 09 Dec 2004)
New Revision: 286

Added:
   people/dato/packages/trunk/amarok/debian/bug/
   people/dato/packages/trunk/amarok/debian/bug/control
   people/dato/packages/trunk/amarok/debian/bug/presubj
Modified:
   people/dato/packages/trunk/amarok/debian/rules
Log:
Install usr/share/bug/<package>/* if uploading to experimental (i.e.,
kalyxo experimental). These files will ask the user to use bugs.kde.org
directly, and if still sends the bug, it'll will be sent to me and not
to Debian's BTS.


Added: people/dato/packages/trunk/amarok/debian/bug/control
===================================================================
--- people/dato/packages/trunk/amarok/debian/bug/control	2004-12-09 18:19:20 UTC (rev 285)
+++ people/dato/packages/trunk/amarok/debian/bug/control	2004-12-09 18:21:35 UTC (rev 286)
@@ -0,0 +1 @@
+Send-To: asp16@alu.ua.es

Added: people/dato/packages/trunk/amarok/debian/bug/presubj
===================================================================
--- people/dato/packages/trunk/amarok/debian/bug/presubj	2004-12-09 18:19:20 UTC (rev 285)
+++ people/dato/packages/trunk/amarok/debian/bug/presubj	2004-12-09 18:21:35 UTC (rev 286)
@@ -0,0 +1,16 @@
+About these amaroK packages
+===========================
+
+    You're using an experimental version of amaroK, which I packaged
+    into deb for the sole benefit of users preferring not to compile
+    themselves.
+
+    This version is not in the Debian archive, so please do not report
+    bugs to the Debian BTS. Instead, I kindly request that you directly
+    submit your bugs for this version to the upstream Bugzilla:
+
+	    http://bugs.kde.org
+
+    Thanks.
+
+ -- Adeodato Simó <asp16@alu.ua.es>

Modified: people/dato/packages/trunk/amarok/debian/rules
===================================================================
--- people/dato/packages/trunk/amarok/debian/rules	2004-12-09 18:19:20 UTC (rev 285)
+++ people/dato/packages/trunk/amarok/debian/rules	2004-12-09 18:21:35 UTC (rev 286)
@@ -21,10 +21,20 @@
 
 ### POST-INSTALL HACKING
 # Make directories in /usr/share/doc be symlinks for packages other than amarok
+# Install debian/bug (if uploading to experimental) to usr/share/bug/$package
 common-binary-post-install-arch::
 	for p in $(filter-out amarok,$(DEB_ALL_PACKAGES)); do \
 	  rm -rf debian/$$p/usr/share/doc/$$p; \
 	  ln -sf amarok debian/$$p/usr/share/doc/$$p; \
 	done
+
+	if test -d debian/bug && test "experimental" = \
+	$(shell dpkg-parsechangelog  | awk '/Distribution/ {print $$2}'); then \
+	  for p in $(DEB_ALL_PACKAGES); do \
+	    mkdir debian/$$p/usr/share/bug; \
+	    cp -a debian/bug debian/$$p/usr/share/bug/$$p; \
+	  done; \
+	fi
+
 	# Check for not installed files
 	dh_install --no-act --list-missing