Accepting request 245165 from Base:System
- correctly identify GDBM files created by libgdbm4 [bnc#888308] * add file-5.19-gdbm.patch (forwarded request 245157 from pgajdos) OBS-URL: https://build.opensuse.org/request/show/245165 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=83
This commit is contained in:
commit
d69f83ae05
@ -1 +1,3 @@
|
||||
libmagic1
|
||||
obsoletes "file-<targettype> < <version>"
|
||||
provides "file-<targettype> = <version>"
|
||||
|
20
file-5.19-gdbm.patch
Normal file
20
file-5.19-gdbm.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Index: magic/Magdir/database
|
||||
===================================================================
|
||||
--- magic/Magdir/database.orig 2014-06-03 21:17:27.000000000 +0200
|
||||
+++ magic/Magdir/database 2014-08-18 14:40:57.296931686 +0200
|
||||
@@ -9,9 +9,13 @@
|
||||
# GDBM magic numbers
|
||||
# Will be maintained as part of the GDBM distribution in the future.
|
||||
# <downsj@teeny.org>
|
||||
-0 belong 0x13579ace GNU dbm 1.x or ndbm database, big endian
|
||||
+0 belong 0x13579acd GNU dbm 1.x or ndbm database, big endian, 32-bit
|
||||
!:mime application/x-gdbm
|
||||
-0 lelong 0x13579ace GNU dbm 1.x or ndbm database, little endian
|
||||
+0 lelong 0x13579acd GNU dbm 1.x or ndbm database, little endian, 32-bit
|
||||
+!:mime application/x-gdbm
|
||||
+0 belong 0x13579acf GNU dbm 1.x or ndbm database, big endian, 64-bit
|
||||
+!:mime application/x-gdbm
|
||||
+0 lelong 0x13579acf GNU dbm 1.x or ndbm database, little endian, 64-bit
|
||||
!:mime application/x-gdbm
|
||||
0 string GDBM GNU dbm 2.x database
|
||||
!:mime application/x-gdbm
|
16
file.changes
16
file.changes
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 19 09:30:38 UTC 2014 - pgajdos@suse.com
|
||||
|
||||
- correctly identify GDBM files created by libgdbm4 [bnc#888308]
|
||||
* add file-5.19-gdbm.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 17:05:34 UTC 2014 - werner@suse.de
|
||||
|
||||
- Add file-rpmlintrc to file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 16:28:10 UTC 2014 - fcrozat@suse.com
|
||||
|
||||
- Add obsoletes/provides to baselibs.conf.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 16:27:38 UTC 2014 - werner@suse.de
|
||||
|
||||
|
@ -37,6 +37,7 @@ License: BSD-2-Clause
|
||||
Group: Productivity/File utilities
|
||||
Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
|
||||
Source2: baselibs.conf
|
||||
Source3: file-rpmlintrc
|
||||
Patch: file-5.19.dif
|
||||
Patch1: file-5.19-misc.dif
|
||||
Patch4: file-4.24-autoconf.dif
|
||||
@ -62,6 +63,7 @@ Patch34: file-5.18-endian.patch
|
||||
Patch35: file-5.12-nitpick.dif
|
||||
Patch36: file-5.15-clear-invalid.patch
|
||||
Patch37: file-secure_getenv.patch
|
||||
Patch38: file-5.19-gdbm.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _sysconfdir /etc
|
||||
%global _miscdir %{_datadir}/misc
|
||||
@ -128,6 +130,7 @@ to develop applications that require the magic "file" interface.
|
||||
%patch35 -p0 -b .nitpick
|
||||
%patch36 -p1 -b .clear
|
||||
%patch37 -p1 -b .getenv
|
||||
%patch38 -p0 -b .gdbm
|
||||
%patch -b .0
|
||||
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user