X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=spec2make.py;h=a2bc7bff018ca8506c5516f7910a297b42b80ec1;hb=b04553ca8a5058ec73ddc08a1e8d7fea57e91d98;hp=ccf2cf843cd4d5aac17cd46e83cddc38f1c26c2a;hpb=9faa4a8dcdf163b195855919448fd05a8c0917a3;p=build.git 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,"")