From 4a2f9b76a5d0bc5c26c3510d4b8a8a1e5c67f751 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:17:23 +0100 Subject: [PATCH] disable libseccomp to fix 'Bad system call' error with option -p (autospec) [release 5.34-2mamba;Wed Jul 25 2018] --- file.spec | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/file.spec b/file.spec index 16b6b54..555a1fd 100644 --- a/file.spec +++ b/file.spec @@ -1,7 +1,7 @@ %define pymagic_version 0.1 Name: file -Version: 5.32 -Release: 1mamba +Version: 5.34 +Release: 2mamba Summary: An utility for determining file types Group: Applications/File Vendor: openmamba @@ -69,6 +69,8 @@ File can identify many different file types, including ELF binaries, system libr This package contains the Python bindings to allow access to the libmagic API. %endif +%debug_package + %prep %setup -q #%patch0 -p1 @@ -95,7 +97,11 @@ touch -r doc/libmagic.man doc/libmagic.man_ mv doc/libmagic.man_ doc/libmagic.man %build -%configure --enable-fsect-man5 +# --disable-libseccomp: fix "Bad system call" crash with -p option (autospec) +%configure \ + --enable-fsect-man5 \ + --disable-libseccomp + %make #cd python @@ -157,6 +163,15 @@ ln -s ../magic %{buildroot}%{_datadir}/file/magic #%endif %changelog +* Wed Jul 25 2018 Silvan Calarco 5.34-2mamba +- disable libseccomp to fix 'Bad system call' error with option -p (autospec) + +* Wed Jul 25 2018 Automatic Build System 5.34-1mamba +- automatic version update by autodist + +* Mon Apr 16 2018 Automatic Build System 5.33-1mamba +- automatic version update by autodist + * Thu Sep 07 2017 Automatic Build System 5.32-1mamba - automatic version update by autodist