This commit is contained in:
parent
d2555df7ee
commit
38814ab036
16
file-4.24-javacheck.dif
Normal file
16
file-4.24-javacheck.dif
Normal file
@ -0,0 +1,16 @@
|
||||
--- magic/Magdir/cafebabe
|
||||
+++ magic/Magdir/cafebabe
|
||||
@@ -12,10 +12,10 @@
|
||||
# (and use as a hack). Let's not use 18, because the Mach-O people
|
||||
# might add another one or two as time goes by...
|
||||
#
|
||||
-0 beshort 0xcafe
|
||||
->2 beshort 0xbabe
|
||||
+0 beshort 0xcafe cafe
|
||||
+>2 beshort 0xbabe babe
|
||||
!:mime application/x-java-applet
|
||||
->>2 belong >30 compiled Java class data,
|
||||
+>>4 belong >30 compiled Java class data,
|
||||
>>>6 beshort x version %d.
|
||||
>>>4 beshort x \b%d
|
||||
>>4 belong 1 Mach-O fat file with 1 architecture
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 19 18:51:46 CEST 2008 - ro@suse.de
|
||||
|
||||
- fix detection for java bytecode
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 6 21:21:24 CEST 2008 - aj@suse.de
|
||||
|
||||
|
17
file.spec
17
file.spec
@ -2,9 +2,16 @@
|
||||
# spec file for package file (Version 4.24)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
@ -19,7 +26,7 @@ Group: Productivity/File utilities
|
||||
AutoReqProv: on
|
||||
# Set Version also in python-magic.spec
|
||||
Version: 4.24
|
||||
Release: 8
|
||||
Release: 31
|
||||
Summary: A Tool to Determine File Types
|
||||
Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.bz2
|
||||
Patch: file-%{version}.dif
|
||||
@ -42,6 +49,7 @@ Patch21: file-4.16-python.dif
|
||||
Patch22: file-4.24-cromfs.dif
|
||||
Patch23: file-4.24-extfs-mp3.dif
|
||||
Patch24: file-4.24-warn.dif
|
||||
Patch25: file-4.24-javacheck.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _sysconfdir /etc
|
||||
%global _miscdir %{_datadir}/misc
|
||||
@ -103,6 +111,7 @@ Authors:
|
||||
%patch22 -p0 -b .cromfs
|
||||
%patch23 -p0 -b .extfs-mp3
|
||||
%patch24 -p0 -b .warn
|
||||
%patch25 -p0 -b .javacheck
|
||||
%patch
|
||||
|
||||
%build
|
||||
@ -166,6 +175,8 @@ unset LD_LIBRARY_PATH
|
||||
%attr(644,root,root) %{_mandir}/man3/libmagic.3.gz
|
||||
|
||||
%changelog
|
||||
* Tue Aug 19 2008 ro@suse.de
|
||||
- fix detection for java bytecode
|
||||
* Tue May 06 2008 aj@suse.de
|
||||
- Do not return random data.
|
||||
* Thu Apr 24 2008 werner@suse.de
|
||||
|
@ -2,9 +2,16 @@
|
||||
# spec file for package python-magic (Version 4.24)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
@ -20,7 +27,7 @@ License: Other uncritical OpenSource License
|
||||
Group: Development/Languages/Python
|
||||
AutoReqProv: on
|
||||
Version: 4.24
|
||||
Release: 8
|
||||
Release: 38
|
||||
Summary: Python module to use libmagic
|
||||
%py_requires
|
||||
Source99: file.spec
|
||||
|
Loading…
Reference in New Issue
Block a user