[Python-modules-commits] r12245 - in packages/python-html2text/trunk/debian (changelog rules)

stefanor-guest at users.alioth.debian.org stefanor-guest at users.alioth.debian.org
Fri Mar 12 18:14:51 UTC 2010


    Date: Friday, March 12, 2010 @ 18:14:50
  Author: stefanor-guest
Revision: 12245

Don't leak uid and umask into source tarball and set -e

Modified:
  packages/python-html2text/trunk/debian/changelog
  packages/python-html2text/trunk/debian/rules

Modified: packages/python-html2text/trunk/debian/changelog
===================================================================
--- packages/python-html2text/trunk/debian/changelog	2010-03-12 18:13:00 UTC (rev 12244)
+++ packages/python-html2text/trunk/debian/changelog	2010-03-12 18:14:50 UTC (rev 12245)
@@ -1,3 +1,9 @@
+python-html2text (2.3.7-2) UNRELEASED; urgency=low
+
+  * Don't leak uid and umask into source tarball and set -e.
+
+ -- Stefano Rivera <stefano at rivera.za.net>  Fri, 12 Mar 2010 20:13:58 +0200
+
 python-html2text (2.3.7-1) unstable; urgency=low
 
   * Initial release (Closes: #567552)

Modified: packages/python-html2text/trunk/debian/rules
===================================================================
--- packages/python-html2text/trunk/debian/rules	2010-03-12 18:13:00 UTC (rev 12244)
+++ packages/python-html2text/trunk/debian/rules	2010-03-12 18:14:50 UTC (rev 12245)
@@ -9,9 +9,11 @@
 UVER=$(shell echo '$(VER)' | sed -e 's/[.]/\#/' | tr -d '.' | tr '\#' '.')
 
 get-orig-source:
+	set -e; \
 	uscan --noconf --force-download --rename --download-version=$(VER) --destdir=.; \
 	mkdir html2text-$(VER); \
 	mv html2text-$(UVER).py html2text-$(VER)/html2text.py; \
 	cp /usr/share/common-licenses/GPL-3 html2text-$(VER)/COPYING; \
-	tar -czf python-html2text_$(VER).orig.tar.gz html2text-$(VER); \
+	GZIP=--best tar -cz --owner root --group root --mode a+rX \
+	                -f python-html2text_$(VER).orig.tar.gz html2text-$(VER); \
 	rm -rf html2text-$(VER)




More information about the Python-modules-commits mailing list