[Python-modules-commits] r12242 - in packages/configobj/trunk/debian (changelog rules)

stefanor-guest at users.alioth.debian.org stefanor-guest at users.alioth.debian.org
Fri Mar 12 17:58:17 UTC 2010


    Date: Friday, March 12, 2010 @ 17:58:16
  Author: stefanor-guest
Revision: 12242

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

Modified:
  packages/configobj/trunk/debian/changelog
  packages/configobj/trunk/debian/rules

Modified: packages/configobj/trunk/debian/changelog
===================================================================
--- packages/configobj/trunk/debian/changelog	2010-03-12 01:39:50 UTC (rev 12241)
+++ packages/configobj/trunk/debian/changelog	2010-03-12 17:58:16 UTC (rev 12242)
@@ -1,3 +1,9 @@
+configobj (4.7.2+ds-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 19:54:42 +0200
+
 configobj (4.7.2+ds-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/configobj/trunk/debian/rules
===================================================================
--- packages/configobj/trunk/debian/rules	2010-03-12 01:39:50 UTC (rev 12241)
+++ packages/configobj/trunk/debian/rules	2010-03-12 17:58:16 UTC (rev 12242)
@@ -14,10 +14,12 @@
 	dh_compress -X.js
 
 get-orig-source:
+	set -e; \
 	VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p'); \
 	uscan --noconf --force-download --download-version=$$VER --destdir=.; \
 	unzip configobj-$$VER.zip; \
 	rm configobj-$$VER.zip; \
 	rm -r __MACOSX; \
-	GZIP=--best tar -czf configobj_$$VER+ds.orig.tar.gz configobj-$$VER; \
+	GZIP=--best tar -cz --owner root --group root --mode a+rX \
+	                -f configobj_$$VER+ds.orig.tar.gz configobj-$$VER; \
 	rm -r configobj-$$VER




More information about the Python-modules-commits mailing list