disable libseccomp to fix 'Bad system call' error with option -p (autospec) [release 5.34-2mamba;Wed Jul 25 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 22:17:23 +01:00
parent 14481fb884
commit 4a2f9b76a5

View File

@ -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 <silvan.calarco@mambasoft.it> 5.34-2mamba
- disable libseccomp to fix 'Bad system call' error with option -p (autospec)
* Wed Jul 25 2018 Automatic Build System <autodist@mambasoft.it> 5.34-1mamba
- automatic version update by autodist
* Mon Apr 16 2018 Automatic Build System <autodist@mambasoft.it> 5.33-1mamba
- automatic version update by autodist
* Thu Sep 07 2017 Automatic Build System <autodist@mambasoft.it> 5.32-1mamba
- automatic version update by autodist