From 5adc6d4b1b38ab4dd06b987b2d7cee88737ad298100344a66ed599a19009b8c6 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 3 Mar 2009 21:46:17 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=16 --- tar-recognize_xz.patch | 10 ++++++++++ tar.changes | 5 +++++ tar.spec | 6 +++++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 tar-recognize_xz.patch diff --git a/tar-recognize_xz.patch b/tar-recognize_xz.patch new file mode 100644 index 0000000..43cedbe --- /dev/null +++ b/tar-recognize_xz.patch @@ -0,0 +1,10 @@ +--- src/suffix.c ++++ src/suffix.c +@@ -40,6 +40,7 @@ + { S(lzma, lzma) }, + { S(tlz, lzma) }, + { S(lzo, lzop) }, ++ { S(xz, lzma) }, + #undef S + }; + diff --git a/tar.changes b/tar.changes index 6bd8e6e..0cb221c 100644 --- a/tar.changes +++ b/tar.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 3 14:49:58 CET 2009 - pth@suse.de + +- Recognize .xz as lzma archive. + ------------------------------------------------------------------- Wed Feb 11 10:41:36 CET 2009 - coolo@suse.de diff --git a/tar.spec b/tar.spec index d5896b2..40b885c 100644 --- a/tar.spec +++ b/tar.spec @@ -27,7 +27,7 @@ Provides: base:/bin/tar PreReq: %install_info_prereq AutoReqProv: on Version: 1.21 -Release: 1 +Release: 2 Summary: GNU implementation of tar ((t)ape (ar)chiver) Source0: %name-%version.tar.bz2 # merged @@ -38,6 +38,7 @@ Patch0: tar-disable_languages.patch Patch1: tar-disable-listed02-test.diff Patch2: tar-manpage.patch Patch3: tar-wildcards.patch +Patch4: tar-recognize_xz.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: xz Requires: tar-lang = %version @@ -80,6 +81,7 @@ Authors: %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 %build rm -f po/no.* po/ky.* @@ -122,6 +124,8 @@ rm -r %buildroot/usr/libexec rm -rf $RPM_BUILD_ROOT %changelog +* Tue Mar 03 2009 pth@suse.de +- Recognize .xz as lzma archive. * Wed Feb 11 2009 coolo@suse.de - update to version 1.21 * New short option -J - A shortcut for --lzma.