From 705f47aec7e28f9f5762393c0ac59a6f106e5bf2 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 24 Mar 2014 15:55:32 +0100 Subject: [PATCH] support for .tar.xz sources --- spec2make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec2make.py b/spec2make.py index ccf2cf84..a2bc7bff 100755 --- a/spec2make.py +++ b/spec2make.py @@ -32,7 +32,7 @@ def main (): for (fullsource,_,__) in specobj.sources: #print '###fullsource=',fullsource print "%s.tarballs += SOURCES/%s" %(package_name,os.path.basename(fullsource)) - for suffix in [".tar.gz", ".tgz", ".tar.bz2", ] : + for suffix in [".tar.gz", ".tgz", ".tar.bz2", ".tar.xz" ] : #print "# trying %s"%suffix if fullsource.endswith(suffix): sourcename=fullsource.replace(suffix,"") -- 2.43.0