diff --git a/file.changes b/file.changes index 9b04074..7b40c5f 100644 --- a/file.changes +++ b/file.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 15 09:17:43 UTC 2020 - Dr. Werner Fink + +- 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 diff --git a/file.spec b/file.spec index 9bc6d7e..7ef10fd 100644 --- a/file.spec +++ b/file.spec @@ -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" diff --git a/python-magic.spec b/python-magic.spec index 8107d49..a9c821c 100644 --- a/python-magic.spec +++ b/python-magic.spec @@ -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