[Rpm-metadata] genpkgmetadata.py

skvidal at osuosl.org skvidal at osuosl.org
Tue Jan 3 22:20:40 UTC 2012


 genpkgmetadata.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 998e73a3268975f220fd4287988895f95dd43734
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Jan 3 17:19:52 2012 -0500

    fix --xz options with compat compress type

diff --git a/genpkgmetadata.py b/genpkgmetadata.py
index 63fb85b..ce8e452 100755
--- a/genpkgmetadata.py
+++ b/genpkgmetadata.py
@@ -164,7 +164,7 @@ def parse_args(args, conf):
         opts.database = False
     
     # xz is just a shorthand for compress_type
-    if opts.xz and not opts.compress_type:
+    if opts.xz and opts.compress_type == 'compat':
         opts.compress_type='xz'
         
         


More information about the Rpm-metadata mailing list