1 |
commit: f45b4973d64f6b8154eaa3a6b4b0b900ac33f1ce |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 14 04:45:20 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 14 04:49:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f45b4973 |
7 |
|
8 |
repoman/setup.py: x_sdist default root owner for archive files |
9 |
|
10 |
repoman/setup.py | 6 +++++- |
11 |
1 file changed, 5 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/repoman/setup.py b/repoman/setup.py |
14 |
index 9c4def929..eead1e299 100755 |
15 |
--- a/repoman/setup.py |
16 |
+++ b/repoman/setup.py |
17 |
@@ -339,11 +339,15 @@ class x_install_scripts(install_scripts): |
18 |
|
19 |
|
20 |
class x_sdist(sdist): |
21 |
- """ sdist defaulting to .tar.bz2 format """ |
22 |
+ """ sdist defaulting to .tar.bz2 format, and archive files owned by root """ |
23 |
|
24 |
def finalize_options(self): |
25 |
if self.formats is None: |
26 |
self.formats = ['bztar'] |
27 |
+ if self.owner is None: |
28 |
+ self.owner = 'root' |
29 |
+ if self.group is None: |
30 |
+ self.group = 'root' |
31 |
|
32 |
sdist.finalize_options(self) |