diff --git a/file.changes b/file.changes index 2d01df1..693c8ff 100644 --- a/file.changes +++ b/file.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 7 11:22:04 UTC 2020 - Dr. Werner Fink + +- Currently file command receives SIGSYS/31 with sandboxing enabled + via libseccomp + ------------------------------------------------------------------- Fri Dec 20 14:00:22 UTC 2019 - Dr. Werner Fink diff --git a/file.spec b/file.spec index 3df9bcc..06cd62c 100644 --- a/file.spec +++ b/file.spec @@ -1,7 +1,7 @@ # # spec file for package file # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -140,7 +140,12 @@ rm -f Magdir/*,v Magdir/*~ rm -f ltcf-c.sh ltconfig ltmain.sh autoreconf -fiv export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)" -%configure --disable-silent-rules --datadir=%{_miscdir} --disable-static --enable-fsect-man5 +%configure --disable-silent-rules --datadir=%{_miscdir} \ + --disable-static \ +%ifarch aarch64 + --disable-libseccomp \ +%endif + --enable-fsect-man5 \ make %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie" %install diff --git a/python-magic.spec b/python-magic.spec index 637466f..e1a2e55 100644 --- a/python-magic.spec +++ b/python-magic.spec @@ -1,7 +1,7 @@ # # spec file for package python-magic # -# Copyright (c) 2019 SUSE LLC +# 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