SHA256
1
0
forked from pool/file
OBS User unknown 2008-05-06 20:19:07 +00:00 committed by Git OBS Bridge
parent 82983ef878
commit d2555df7ee
4 changed files with 21 additions and 2 deletions

10
file-4.24-warn.dif Normal file
View File

@ -0,0 +1,10 @@
--- src/apprentice.c
+++ src/apprentice.c
@@ -562,6 +562,7 @@
/* invalid search type, but no need to complain here */
break;
}
+ return 0;
}
/*

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 6 21:21:24 CEST 2008 - aj@suse.de
- Do not return random data.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 24 19:27:57 CEST 2008 - werner@suse.de Thu Apr 24 19:27:57 CEST 2008 - werner@suse.de

View File

@ -19,7 +19,7 @@ Group: Productivity/File utilities
AutoReqProv: on AutoReqProv: on
# Set Version also in python-magic.spec # Set Version also in python-magic.spec
Version: 4.24 Version: 4.24
Release: 5 Release: 8
Summary: A Tool to Determine File Types Summary: A Tool to Determine File Types
Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.bz2 Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.bz2
Patch: file-%{version}.dif Patch: file-%{version}.dif
@ -41,6 +41,7 @@ Patch20: file-4.24-mips.dif
Patch21: file-4.16-python.dif Patch21: file-4.16-python.dif
Patch22: file-4.24-cromfs.dif Patch22: file-4.24-cromfs.dif
Patch23: file-4.24-extfs-mp3.dif Patch23: file-4.24-extfs-mp3.dif
Patch24: file-4.24-warn.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc %global _sysconfdir /etc
%global _miscdir %{_datadir}/misc %global _miscdir %{_datadir}/misc
@ -101,6 +102,7 @@ Authors:
%endif %endif
%patch22 -p0 -b .cromfs %patch22 -p0 -b .cromfs
%patch23 -p0 -b .extfs-mp3 %patch23 -p0 -b .extfs-mp3
%patch24 -p0 -b .warn
%patch %patch
%build %build
@ -164,6 +166,8 @@ unset LD_LIBRARY_PATH
%attr(644,root,root) %{_mandir}/man3/libmagic.3.gz %attr(644,root,root) %{_mandir}/man3/libmagic.3.gz
%changelog %changelog
* Tue May 06 2008 aj@suse.de
- Do not return random data.
* Thu Apr 24 2008 werner@suse.de * Thu Apr 24 2008 werner@suse.de
- Don't slip into Mp3 channel for ext file systems (bnc#383431) - Don't slip into Mp3 channel for ext file systems (bnc#383431)
* Mon Apr 14 2008 werner@suse.de * Mon Apr 14 2008 werner@suse.de

View File

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