[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Removal of unused substitution variable.



Dear all,

the attached patch removes an unused substitution variable.  I checked that the
package builds fine without.  It actually builds better, in the sense that the
dpkg-gencontrol warning dissapears...

Cheers,

-- 
Charles
>From 02c21b852a26bb16542357e25428377911cba079 Mon Sep 17 00:00:00 2001
From: Charles Plessy <plessy@debian.org>
Date: Sun, 26 Feb 2012 19:24:38 +0900
Subject: [PATCH] Remove unused debian-policy:Version substitution variable.

---
 debian/rules |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index d5d93cf..50a581e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -127,12 +127,6 @@ stamp-policy:  build $(sanitycheck)
 	$(make_directory)	$(TMPTOP)/DEBIAN
 	$(make_directory)	$(DOCDIR)/fhs
 	$(make_directory)	$(LIBDIR)
-	# create a substvar to reference from debian/control so that
-	# we don't hardcode the policy compliance of the policy
-	# package.  I guess some might question this but I take it as
-	# a given that the debian-policy pkg must always comply with
-	# itself...
-	echo "debian-policy:Version=$(version)"	     > debian/substvars
 	$(install_file)	    $(POLICY_FILES)	     $(DOCDIR)/
 	$(install_file)	    debian/changelog	     $(DOCDIR)/
 	# Be more specific with file compression
-- 
1.7.9


Reply to: