diff --git a/less.changes b/less.changes index f1603f3..85cc4d4 100644 --- a/less.changes +++ b/less.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 4 09:56:02 UTC 2011 - puzel@suse.com + +- correctly recognize xz compressed data (bnc#728033) + ------------------------------------------------------------------- Thu Jun 16 08:26:41 UTC 2011 - idonmez@novell.com diff --git a/less.spec b/less.spec index c57f818..33ad44a 100644 --- a/less.spec +++ b/less.spec @@ -45,7 +45,6 @@ Patch27: %{name}-429-save_line_position.patch Patch28: %{name}-429-more.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build - %description less is a text file browser and pager similar to more. It allows backward as well as forward movement within a file. Also, less does not @@ -75,7 +74,6 @@ chmod u+w * # cp %{S:1} %{S:2} %{S:3} %{S:4} . - %build autoreconf -fiv %configure --with-pic @@ -87,7 +85,6 @@ make mkhelp # build less make %{?_smp_mflags} - %install make DESTDIR=$RPM_BUILD_ROOT/ install # @@ -100,11 +97,9 @@ $RPM_BUILD_ROOT%{_bindir}/lesskey -o $RPM_BUILD_ROOT%{_sysconfdir}/lesskey.bin $ install -m 755 lessopen.sh lessclose.sh $RPM_BUILD_ROOT/%{_bindir} %__chmod -x LICENSE COPYING NEWS README.SuSE - %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-, root, root) %doc LICENSE COPYING NEWS README.SuSE @@ -112,6 +107,4 @@ rm -rf $RPM_BUILD_ROOT %config %{_sysconfdir}/* %{_bindir}/* - - %changelog diff --git a/lessopen.sh b/lessopen.sh index 34e552b..91156da 100644 --- a/lessopen.sh +++ b/lessopen.sh @@ -46,7 +46,8 @@ case ${type#"$SRC": } in CMD="unzip -v" ;; *"bzip"*" compressed data"*) CMD="bzip2 -dc" ;; - *"xz compressed data"*) + *"xz compressed data"*|\ + *"XZ compressed data"*) CMD="xz -dc" ;; *) rm -f "$TMPF_pre"