Author: peroyvind
Date: Mon Feb 12 11:32:16 2007
New Revision: 118886
Modified:
packages/cooker/tar/current/SOURCES/tar-1.15.91-lzma.patch
packages/cooker/tar/current/SPECS/tar.spec
Log:
update to use 'lzma' over deprecated 'lzmash' wrapper script
Modified: packages/cooker/tar/current/SOURCES/tar-1.15.91-lzma.patch
==============================================================================
--- packages/cooker/tar/current/SOURCES/tar-1.15.91-lzma.patch (original)
+++ packages/cooker/tar/current/SOURCES/tar-1.15.91-lzma.patch Mon Feb 12
11:32:16 2007
@@ -16,7 +16,7 @@
{ ct_bzip2, 3, "BZh", "bzip2", "-j" },
+ /* The first bytes of a LZMA compressed file describe some compression
+ settings and thus vary. This handles the most common case: */
-+ { ct_lzma, 3, "]\000\000", "lzmash", "-Y" },
++ { ct_lzma, 3, "]\000\000", "lzma", "-Y" },
};
#define NMAGIC (sizeof(magic)/sizeof(magic[0]))
@@ -27,7 +27,7 @@
{"label", 'V', N_("TEXT"), 0,
N_("create archive with volume name TEXT; at list/extract time, use TEXT
as a globbing pattern for volume name"), GRID+8 },
+ {"lzma", 'Y', 0, 0,
-+ N_("filter the archive through lzma using 'lzmash' wrapper script"), 68 },
++ N_("filter the archive through lzma using 'lzma' wrapper script"), 68 },
{"bzip2", 'j', 0, 0,
N_("filter the archive through bzip2"), GRID+8 },
{"gzip", 'z', 0, 0,
@@ -36,7 +36,7 @@
break;
+ case 'Y':
-+ set_use_compress_program_option ("lzmash");
++ set_use_compress_program_option ("lzma");
+ break;
+
case 'z':
Modified: packages/cooker/tar/current/SPECS/tar.spec
==============================================================================
--- packages/cooker/tar/current/SPECS/tar.spec (original)
+++ packages/cooker/tar/current/SPECS/tar.spec Mon Feb 12 11:32:16 2007
@@ -1,6 +1,6 @@
%define name tar
%define version 1.16
-%define release %mkrel 2
+%define release %mkrel 3
Summary: A GNU file archiving program
Name: %{name}
@@ -17,8 +17,8 @@
Patch11: tar-1.14-doubleslash.patch.bz2
Patch13: tar-1.15.91-lzma.patch
Patch14: tar-mangling.patch
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
+Requires(post): info-install
+Requires(preun): info-install
Conflicts: rmt < 0.4b36
%description