OBS User unknown 2008-04-25 13:11:10 +00:00 committed by Git OBS Bridge
parent 7c38c9ae15
commit 015997a8a1
4 changed files with 22 additions and 2 deletions

11
file-4.24-extfs-mp3.dif Normal file
View File

@ -0,0 +1,11 @@
--- magic/Magdir/animation
+++ magic/Magdir/animation 2008-04-24 19:27:05.898695896 +0200
@@ -276,7 +276,7 @@
# modified by Joerg Jenderek
# GRR the original test are too common for many DOS files
# so don't accept as MP3 until we've tested the rate
-0 beshort&0xFFFE
+0 beshort&0xFFFE 0xFFFA
# rates
>2 byte&0xF0 0x10 MPEG ADTS, layer III, v1, 32 kbps
!:mime audio/mpeg

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 24 19:27:57 CEST 2008 - werner@suse.de
- Don't slip into Mp3 channel for ext file systems (bnc#383431)
-------------------------------------------------------------------
Mon Apr 14 17:35:43 CEST 2008 - werner@suse.de

View File

@ -19,7 +19,7 @@ Group: Productivity/File utilities
AutoReqProv: on
# Set Version also in python-magic.spec
Version: 4.24
Release: 3
Release: 5
Summary: A Tool to Determine File Types
Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.bz2
Patch: file-%{version}.dif
@ -40,6 +40,7 @@ Patch16: file-4.21-reiserfs.dif
Patch20: file-4.24-mips.dif
Patch21: file-4.16-python.dif
Patch22: file-4.24-cromfs.dif
Patch23: file-4.24-extfs-mp3.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _miscdir %{_datadir}/misc
@ -99,6 +100,7 @@ Authors:
%patch21 -p0 -b .python
%endif
%patch22 -p0 -b .cromfs
%patch23 -p0 -b .extfs-mp3
%patch
%build
@ -162,6 +164,8 @@ unset LD_LIBRARY_PATH
%attr(644,root,root) %{_mandir}/man3/libmagic.3.gz
%changelog
* Thu Apr 24 2008 werner@suse.de
- Don't slip into Mp3 channel for ext file systems (bnc#383431)
* Mon Apr 14 2008 werner@suse.de
- Add CROM File System to Localstuff (bnc#379027)
- Update to file bugfix version 4.24

View File

@ -20,7 +20,7 @@ License: Other uncritical OpenSource License
Group: Development/Languages/Python
AutoReqProv: on
Version: 4.24
Release: 1
Release: 3
Summary: Python module to use libmagic
%py_requires
Source99: file.spec