commit:     dc12240978f6bfcf26ae4291d92690856b0567af
Author:     jakeogh <github.com <AT> v6y <DOT> net>
AuthorDate: Fri Feb  5 23:22:05 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Feb  6 16:38:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc122409

eclass/rpm.eclass: add xz support to rpm_src_unpack

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 eclass/rpm.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass
index b646206..079e459 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

Reply via email to