[SCM] xbmc-pvr-addons/master: Fix dpkg-gencontrol's unused substitution variable warnings
    rbalint at users.alioth.debian.org 
    rbalint at users.alioth.debian.org
       
    Fri May 23 19:13:27 UTC 2014
    
    
  
The following commit has been merged in the master branch:
commit 706a8786b84821ee29f6ada318834b464c2b1e60
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Thu May 8 15:02:38 2014 +0200
    Fix dpkg-gencontrol's unused substitution variable warnings
diff --git a/debian/rules b/debian/rules
index d9fd304..82b788f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,7 +40,8 @@ override_dh_auto_configure:
 
 override_dh_gencontrol:
 	sh /usr/share/vdr-dev/dependencies.sh
-	for i in $(CURDIR)/debian/*substvars ; do echo "xbmc-addons-abi:Depends=xbmc (>= $(XBMC_VERSION))" >> $$i; done
+	sed -i 's/^vdr:Depends/# vdr:Depends/' $(CURDIR)/debian/xbmc-*.substvars
+	for i in $(CURDIR)/debian/substvars $(CURDIR)/debian/xbmc-*.substvars ; do echo "xbmc-addons-abi:Depends=xbmc (>= $(XBMC_VERSION))" >> $$i; done
 	dh_gencontrol
 
 override_dh_shlibdeps:
-- 
xbmc-pvr-addons packaging
    
    
More information about the pkg-multimedia-commits
mailing list