[python-escript] 01/01: Ensure root owns all files in the examples tarball

Joel Fenwick jfenwick-guest at moszumanska.debian.org
Wed Oct 12 06:48:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

jfenwick-guest pushed a commit to branch debian
in repository python-escript.

commit 78fef36b3a23a8d8415f3dfe5b359b8c30441a8a
Author: Joel Fenwick <joelfenwick at uq.edu.au>
Date:   Wed Oct 12 16:48:02 2016 +1000

    Ensure root owns all files in the examples tarball
---
 debian/patches/rootintar | 11 +++++++++++
 debian/patches/series    |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/rootintar b/debian/patches/rootintar
new file mode 100644
index 0000000..7258322
--- /dev/null
+++ b/debian/patches/rootintar
@@ -0,0 +1,11 @@
+--- a/doc/SConscript
++++ b/doc/SConscript
+@@ -199,7 +199,7 @@ env.Alias('examples_zipfile', zip)
+ 
+ tar_path=os.path.join(release_dir, 'escript_examples.tar')
+ targz_path=os.path.join(release_dir, 'escript_examples.tar.gz')
+-tar = local_env.Command(tar_path, None, dir_cmd+"tar -cf "+tar_path+" "+" ".join(ex2))
++tar = local_env.Command(tar_path, None, dir_cmd+"tar --owner=root --group=root --numeric-owner -cf "+tar_path+" "+" ".join(ex2))
+ targz = local_env.Command(targz_path, tar, "gzip -n -9 "+tar_path)
+ env.Alias('examples_tarfile', targz)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..c8c933d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+rootintar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-escript.git



More information about the debian-science-commits mailing list