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

[SCM] Debian packaging of texlive-nonbin) branch, master, updated. debian/2013.20130523-1-15-g38a27d2



The following commit has been merged in the master branch:
commit 38a27d288d7510045c57f84abae7964868a5d740
Author: Norbert Preining <preining@debian.org>
Date:   Thu May 30 10:34:11 2013 +0900

    create the $pkg.lintian-overrides files with correct name

diff --git a/all/debian/rules.in b/all/debian/rules.in
index c5a7074..5839fb1 100755
--- a/all/debian/rules.in
+++ b/all/debian/rules.in
@@ -20,6 +20,7 @@ clean:
 	  rm -f debian/$$i.{README.Debian,links,links.generated} ; \
 	  rm -f debian/$$i.{postinst,postrm,preinst,prerm} ; \
 	  rm -f debian/$$i.{maps,hyphens,formats,info,manpages} ; \
+	  rm -f debian/$$i.{lintian-overrides} ; \
 	done
 <: if ($srcpackage eq "texlive-base") { _:>//
 	rm -f debian/texlive-base.cnf
diff --git a/tpm2deb-source.pl b/tpm2deb-source.pl
index 8091305..5964a09 100755
--- a/tpm2deb-source.pl
+++ b/tpm2deb-source.pl
@@ -347,16 +347,17 @@ sub create_override_file {
 		}
 	}
 	if ($#binlines >= 0) {
- 		open(BINOVER,">$debdest/$package.override") 
-		    or die("Cannot open $debdest/$package.override");
+ 		open(BINOVER,">$debdest/$package.lintian-overrides") 
+		    or die("Cannot open $debdest/$package.lintian-overrides");
 		foreach (@binlines) {
 			print BINOVER $_;
 		}
 		close(BINOVER);
 	}
 	if ($#sourcelines >= 0) {
- 		open(SOURCEOVER,">$debdest/source.lintian-overrides") 
-		    or die("Cannot open $debdest/source.lintian-overrides");
+		mkpath("$debdest/source");
+ 		open(SOURCEOVER,">$debdest/source/lintian-overrides") 
+		    or die("Cannot open $debdest/source/lintian-overrides");
 		foreach (@sourcelines) {
 			print SOURCEOVER $_;
 		}

-- 
Debian packaging of texlive-nonbin)


Reply to: