X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=spec2make.py;h=a2bc7bff018ca8506c5516f7910a297b42b80ec1;hb=2be483ffae74d1a96f8df7a22ef915c857a11b5a;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,"")