SHA256
1
0
forked from pool/file

Disable libseccomp

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=208
This commit is contained in:
Dr. Werner Fink 2020-01-15 09:20:20 +00:00 committed by Git OBS Bridge
parent d39430884d
commit 40ddcdd426
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 15 09:17:43 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Looks like libseccomp filter stumble over decompressors like
xz (without liblmza) or zstd hence disable it (boo#1160649)
- Require at build devel packages for liblzma and libbz2
-------------------------------------------------------------------
Wed Jan 8 13:55:46 UTC 2020 - Marcus Meissner <meissner@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package file
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,6 +23,8 @@ Name: file
BuildRequires: bash >= 4.0
BuildRequires: libtool
BuildRequires: zlib-devel
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libseccomp)
URL: http://www.darwinsys.com/file/
# bug437293
@ -144,6 +146,7 @@ autoreconf -fiv
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)"
%configure --disable-silent-rules --datadir=%{_miscdir} \
--disable-static \
--disable-libseccomp \
--enable-fsect-man5
make %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie"

View File

@ -1,7 +1,7 @@
#
# spec file for package python-magic
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed