summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakeogh <github.com@v6y.net>2016-02-05 23:22:05 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2016-02-06 08:38:20 -0800
commitdc12240978f6bfcf26ae4291d92690856b0567af (patch)
tree5ae2361f082f2bca44381a8f4d9110454976a429 /eclass/rpm.eclass
parentdev-ml/ocaml-cairo: initial import; ebuild by me (diff)
downloadgentoo-dc12240978f6bfcf26ae4291d92690856b0567af.tar.gz
gentoo-dc12240978f6bfcf26ae4291d92690856b0567af.tar.bz2
gentoo-dc12240978f6bfcf26ae4291d92690856b0567af.zip
eclass/rpm.eclass: add xz support to rpm_src_unpack
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'eclass/rpm.eclass')
-rw-r--r--eclass/rpm.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass
index b646206b50d2..079e4591f11a 100644
--- a/eclass/rpm.eclass
+++ b/eclass/rpm.eclass
@@ -51,7 +51,7 @@ srcrpm_unpack() {
# unpack everything
local a
- for a in *.tar.{gz,bz2} *.t{gz,bz2} *.zip *.ZIP ; do
+ for a in *.tar.{gz,bz2,xz} *.t{gz,bz2,xz,pxz} *.zip *.ZIP ; do
unpack "./${a}"
rm -f "${a}"
done