[Python-apps-commits] r6654 - in packages/lottanzb/trunk/debian (changelog control rules)

lantash-guest at users.alioth.debian.org lantash-guest at users.alioth.debian.org
Tue Feb 15 16:28:56 UTC 2011


    Date: Tuesday, February 15, 2011 @ 16:28:53
  Author: lantash-guest
Revision: 6654

Install into private directory /usr/share/lottanzb.

Modified:
  packages/lottanzb/trunk/debian/changelog
  packages/lottanzb/trunk/debian/control
  packages/lottanzb/trunk/debian/rules

Modified: packages/lottanzb/trunk/debian/changelog
===================================================================
--- packages/lottanzb/trunk/debian/changelog	2011-02-15 14:52:29 UTC (rev 6653)
+++ packages/lottanzb/trunk/debian/changelog	2011-02-15 16:28:53 UTC (rev 6654)
@@ -22,7 +22,6 @@
     + Add python-apt and apturl to Recommends.
     + Add sabnzbdplus to Suggests.
     + Replace hellanzb with sabnzbdplus in Enhances.
-    + Add ${python:Breaks} to Breaks.
     + Update Description.
   * debian/copyright:
     + Make it machine-interpretable according to DEP-5.
@@ -31,6 +30,8 @@
     + Add lottanzb/backend/interface/multipart_post_handler.py.
   * debian/lottanzb.lintian-overrides:
     + Override extra-license-file warning for documentation files.
+  * debian/rules:
+    + Install into private directory /usr/share/lottanzb.
 
  -- Severin Heiniger <severinheiniger at gmail.com>  Tue, 15 Feb 2011 14:50:07 +0100
 

Modified: packages/lottanzb/trunk/debian/control
===================================================================
--- packages/lottanzb/trunk/debian/control	2011-02-15 14:52:29 UTC (rev 6653)
+++ packages/lottanzb/trunk/debian/control	2011-02-15 16:28:53 UTC (rev 6654)
@@ -17,7 +17,6 @@
 Recommends: python-gnome2, yelp (>= 2.30), python-apt (>= 0.6.13), apturl, python-openssl
 Suggests: sabnzbdplus (>= 0.5.2)
 Enhances: sabnzbdplus
-Breaks: ${python:Breaks}
 Description: simple and automated Usenet downloader for Newzbin (NZB) files
  LottaNZB aims to simplify and automate the download of files from the Usenet.
  You can tell LottaNZB what to download using NZB files, which are created

Modified: packages/lottanzb/trunk/debian/rules
===================================================================
--- packages/lottanzb/trunk/debian/rules	2011-02-15 14:52:29 UTC (rev 6653)
+++ packages/lottanzb/trunk/debian/rules	2011-02-15 16:28:53 UTC (rev 6654)
@@ -4,7 +4,14 @@
 	dh $@ --with python2
 
 override_dh_auto_install:
-	dh_auto_install -- --packaging-mode
+	dh_auto_install -- --packaging-mode --install-lib=/usr/share/lottanzb
+	
+	# Rename the binary instead of using --install-scripts due to name conflict
+	mv $(CURDIR)/debian/lottanzb/usr/bin/lottanzb \
+		$(CURDIR)/debian/lottanzb/usr/share/lottanzb/run
 
+override_dh_link:
+	dh_link usr/share/lottanzb/run usr/bin/lottanzb
+
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS




More information about the Python-apps-commits mailing list