]> git.pld-linux.org Git - packages/file.git/commitdiff
- lzma patch from debian... but seems not working... auto/aidath/file-5_03-3_1 auto/th/file-5_03-3_1
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 18 Jun 2009 10:59:37 +0000 (10:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    file-lzma.patch -> 1.1
    file.spec -> 1.170

file-lzma.patch [new file with mode: 0644]
file.spec

diff --git a/file-lzma.patch b/file-lzma.patch
new file mode 100644 (file)
index 0000000..b6945ef
--- /dev/null
@@ -0,0 +1,15 @@
+diff -ur file-4.17.old/magic/Magdir/compress file-4.17/magic/Magdir/compress
+--- file-4.17.old/magic/Magdir/compress        2006-04-22 11:56:54.000000000 +0200
++++ file-4.17/magic/Magdir/compress    2006-04-22 12:01:39.000000000 +0200
+@@ -174,6 +174,11 @@
+ >6    byte            x                       version %d
+ >7    byte            x                       \b.%d
++# LZMA (7-zip sister format)
++# http://www.7-zip.org/sdk.html
++#
++0     string          ]\000\000\200\000\377\377\377\377\377\377\377\377       LZMA compressed data
++
+ # AFX compressed files (Wolfram Kleff)
+ 2     string          -afx-           AFX compressed file data
index 9d501cab159c8c495e54b602368b7085a59698c9..d2de72ff09a77b126fa7fd136ef5b14a5d3ec2ab 100644 (file)
--- a/file.spec
+++ b/file.spec
@@ -29,7 +29,7 @@ Summary(zh_CN.UTF-8): 判定文件类型的工具。
 Summary(zh_TW.UTF-8):  用於決定檔案類型的一個工具程式。
 Name:          file
 Version:       5.03
-Release:       3
+Release:       3.1
 License:       distributable
 Group:         Applications/File
 Source0:       ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
@@ -46,6 +46,7 @@ Patch3:               %{name}-greedy-dump.patch
 Patch4:                %{name}-selinux.patch
 Patch5:                %{name}-msdos.patch
 Patch6:                %{name}-fusecompress.patch
+Patch7:                %{name}-lzma.patch
 URL:           http://www.darwinsys.com/file/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -253,6 +254,7 @@ Wiązania Pythona dla libmagic.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 rm -f magic/Magdir/{*.orig,*~}
 
This page took 0.504229 seconds and 4 git commands to generate.