Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libseccomp for openSUSE:Factory checked in at 2022-05-05 23:04:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libseccomp (Old) and /work/SRC/openSUSE:Factory/.libseccomp.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libseccomp" Thu May 5 23:04:28 2022 rev:37 rq:974367 version:2.5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libseccomp/libseccomp.changes 2021-12-09 21:17:06.274575551 +0100 +++ /work/SRC/openSUSE:Factory/.libseccomp.new.1538/libseccomp.changes 2022-05-05 23:04:28.881414097 +0200 @@ -1,0 +2,27 @@ +Sat Apr 30 16:42:48 UTC 2022 - Jan Engelhardt <[email protected]> + +- Deactive python3 by default, it's just not a good idea for ring0. + +------------------------------------------------------------------- +Thu Apr 21 21:23:08 UTC 2022 - Jan Engelhardt <[email protected]> + +- Update to release 2.5.4 + * Update the syscall table for Linux v5.17. + * Fix minor issues with binary tree testing and with empty + binary trees. + * Minor documentation improvements including retiring the + mailing list. + +------------------------------------------------------------------- +Mon Jan 17 11:08:28 UTC 2022 - Marcus Meissner <[email protected]> + +- buildrequire python-rpm-macros + +------------------------------------------------------------------- +Thu Dec 2 12:09:38 UTC 2021 - Marcus Rueckert <[email protected]> + +- reenable python bindings at least for the distro default python3 + package: + - adds make-python-build.patch + +------------------------------------------------------------------- Old: ---- libseccomp-2.5.3.tar.gz libseccomp-2.5.3.tar.gz.asc New: ---- libseccomp-2.5.4.tar.gz libseccomp-2.5.4.tar.gz.asc make-python-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libseccomp.spec ++++++ --- /var/tmp/diff_new_pack.knxm1u/_old 2022-05-05 23:04:29.497414866 +0200 +++ /var/tmp/diff_new_pack.knxm1u/_new 2022-05-05 23:04:29.501414870 +0200 @@ -1,7 +1,7 @@ # # spec file for package libseccomp # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define lname libseccomp2 Name: libseccomp -Version: 2.5.3 +Version: 2.5.4 Release: 0 Summary: A Seccomp (mode 2) helper library License: LGPL-2.1-only @@ -28,11 +28,17 @@ Source2: https://github.com/seccomp/libseccomp/releases/download/v%version/libseccomp-%version.tar.gz.asc Source3: %name.keyring Source99: baselibs.conf +Patch1: make-python-build.patch BuildRequires: autoconf BuildRequires: automake >= 1.11 BuildRequires: fdupes BuildRequires: libtool >= 2 BuildRequires: pkgconfig +%bcond_with python +%if 0%{?with python} +BuildRequires: python-rpm-macros +BuildRequires: python3-Cython >= 0.29 +%endif %description The libseccomp library provides an interface to the Linux Kernel's @@ -73,6 +79,17 @@ This subpackage contains debug utilities for the seccomp interface. +%package -n python3-seccomp +Summary: Python 3 bindings for seccomp +Group: Development/Tools/Debuggers +Requires: python3-Cython >= 0.29 + +%description -n python3-seccomp +The libseccomp library provides an interface to the Linux Kernel's +syscall filtering mechanism, seccomp. + +This subpackage contains the python3 bindings for seccomp. + %prep %autosetup -p1 @@ -84,23 +101,25 @@ %endif %build -if [ ! -f configure ]; then - perl -i -pe 's{\QAC_INIT([libseccomp], [0.0.0])\E}{AC_INIT([libseccomp], [%version])}' configure.ac -fi autoreconf -fiv %configure \ --includedir="%_includedir/%name" \ +%if %{with python} + --enable-python \ +%endif --disable-static \ --disable-silent-rules \ GPERF=/bin/true -make %{?_smp_mflags} +%make_build %install %make_install find "%buildroot/%_libdir" -type f -name "*.la" -delete +rm -fv %buildroot/%python3_sitearch/install_files.txt %fdupes %buildroot/%_prefix %check +export LD_LIBRARY_PATH="$PWD/src/.libs" make check %post -n %lname -p /sbin/ldconfig @@ -120,4 +139,10 @@ %_bindir/scmp_sys_resolver %_mandir/man1/scmp_sys_resolver.1* +%if %{with python} +%files -n python3-seccomp +%python3_sitearch/seccomp-%version-py*.egg-info +%python3_sitearch/seccomp.cpython*.so +%endif + %changelog ++++++ libseccomp-2.5.3.tar.gz -> libseccomp-2.5.4.tar.gz ++++++ ++++ 5465 lines of diff (skipped) ++++++ make-python-build.patch ++++++ Index: libseccomp-2.5.2/src/python/setup.py =================================================================== --- libseccomp-2.5.2.orig/src/python/setup.py +++ libseccomp-2.5.2/src/python/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Enhanced Seccomp Library Python Module Build Script @@ -41,7 +41,7 @@ setup( ext_modules = [ Extension("seccomp", ["seccomp.pyx"], # unable to handle libtool libraries directly - extra_objects=["../.libs/libseccomp.a"], + extra_objects=["../.libs/libseccomp.so"], # fix build warnings, see PEP 3123 extra_compile_args=["-fno-strict-aliasing"]) ] Index: libseccomp-2.5.2/tests/01-sim-allow.py =================================================================== --- libseccomp-2.5.2.orig/tests/01-sim-allow.py +++ libseccomp-2.5.2/tests/01-sim-allow.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/02-sim-basic.py =================================================================== --- libseccomp-2.5.2.orig/tests/02-sim-basic.py +++ libseccomp-2.5.2/tests/02-sim-basic.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/03-sim-basic_chains.py =================================================================== --- libseccomp-2.5.2.orig/tests/03-sim-basic_chains.py +++ libseccomp-2.5.2/tests/03-sim-basic_chains.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/04-sim-multilevel_chains.py =================================================================== --- libseccomp-2.5.2.orig/tests/04-sim-multilevel_chains.py +++ libseccomp-2.5.2/tests/04-sim-multilevel_chains.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/05-sim-long_jumps.py =================================================================== --- libseccomp-2.5.2.orig/tests/05-sim-long_jumps.py +++ libseccomp-2.5.2/tests/05-sim-long_jumps.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/06-sim-actions.py =================================================================== --- libseccomp-2.5.2.orig/tests/06-sim-actions.py +++ libseccomp-2.5.2/tests/06-sim-actions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/07-sim-db_bug_looping.py =================================================================== --- libseccomp-2.5.2.orig/tests/07-sim-db_bug_looping.py +++ libseccomp-2.5.2/tests/07-sim-db_bug_looping.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/08-sim-subtree_checks.py =================================================================== --- libseccomp-2.5.2.orig/tests/08-sim-subtree_checks.py +++ libseccomp-2.5.2/tests/08-sim-subtree_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/09-sim-syscall_priority_pre.py =================================================================== --- libseccomp-2.5.2.orig/tests/09-sim-syscall_priority_pre.py +++ libseccomp-2.5.2/tests/09-sim-syscall_priority_pre.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/10-sim-syscall_priority_post.py =================================================================== --- libseccomp-2.5.2.orig/tests/10-sim-syscall_priority_post.py +++ libseccomp-2.5.2/tests/10-sim-syscall_priority_post.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/11-basic-basic_errors.py =================================================================== --- libseccomp-2.5.2.orig/tests/11-basic-basic_errors.py +++ libseccomp-2.5.2/tests/11-basic-basic_errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/12-sim-basic_masked_ops.py =================================================================== --- libseccomp-2.5.2.orig/tests/12-sim-basic_masked_ops.py +++ libseccomp-2.5.2/tests/12-sim-basic_masked_ops.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/13-basic-attrs.py =================================================================== --- libseccomp-2.5.2.orig/tests/13-basic-attrs.py +++ libseccomp-2.5.2/tests/13-basic-attrs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/14-sim-reset.py =================================================================== --- libseccomp-2.5.2.orig/tests/14-sim-reset.py +++ libseccomp-2.5.2/tests/14-sim-reset.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/15-basic-resolver.py =================================================================== --- libseccomp-2.5.2.orig/tests/15-basic-resolver.py +++ libseccomp-2.5.2/tests/15-basic-resolver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/16-sim-arch_basic.py =================================================================== --- libseccomp-2.5.2.orig/tests/16-sim-arch_basic.py +++ libseccomp-2.5.2/tests/16-sim-arch_basic.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/17-sim-arch_merge.py =================================================================== --- libseccomp-2.5.2.orig/tests/17-sim-arch_merge.py +++ libseccomp-2.5.2/tests/17-sim-arch_merge.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/18-sim-basic_allowlist.py =================================================================== --- libseccomp-2.5.2.orig/tests/18-sim-basic_allowlist.py +++ libseccomp-2.5.2/tests/18-sim-basic_allowlist.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/19-sim-missing_syscalls.py =================================================================== --- libseccomp-2.5.2.orig/tests/19-sim-missing_syscalls.py +++ libseccomp-2.5.2/tests/19-sim-missing_syscalls.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/20-live-basic_die.py =================================================================== --- libseccomp-2.5.2.orig/tests/20-live-basic_die.py +++ libseccomp-2.5.2/tests/20-live-basic_die.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/21-live-basic_allow.py =================================================================== --- libseccomp-2.5.2.orig/tests/21-live-basic_allow.py +++ libseccomp-2.5.2/tests/21-live-basic_allow.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/22-sim-basic_chains_array.py =================================================================== --- libseccomp-2.5.2.orig/tests/22-sim-basic_chains_array.py +++ libseccomp-2.5.2/tests/22-sim-basic_chains_array.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/23-sim-arch_all_le_basic.py =================================================================== --- libseccomp-2.5.2.orig/tests/23-sim-arch_all_le_basic.py +++ libseccomp-2.5.2/tests/23-sim-arch_all_le_basic.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/24-live-arg_allow.py =================================================================== --- libseccomp-2.5.2.orig/tests/24-live-arg_allow.py +++ libseccomp-2.5.2/tests/24-live-arg_allow.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/25-sim-multilevel_chains_adv.py =================================================================== --- libseccomp-2.5.2.orig/tests/25-sim-multilevel_chains_adv.py +++ libseccomp-2.5.2/tests/25-sim-multilevel_chains_adv.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/26-sim-arch_all_be_basic.py =================================================================== --- libseccomp-2.5.2.orig/tests/26-sim-arch_all_be_basic.py +++ libseccomp-2.5.2/tests/26-sim-arch_all_be_basic.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/27-sim-bpf_blk_state.py =================================================================== --- libseccomp-2.5.2.orig/tests/27-sim-bpf_blk_state.py +++ libseccomp-2.5.2/tests/27-sim-bpf_blk_state.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/28-sim-arch_x86.py =================================================================== --- libseccomp-2.5.2.orig/tests/28-sim-arch_x86.py +++ libseccomp-2.5.2/tests/28-sim-arch_x86.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/29-sim-pseudo_syscall.py =================================================================== --- libseccomp-2.5.2.orig/tests/29-sim-pseudo_syscall.py +++ libseccomp-2.5.2/tests/29-sim-pseudo_syscall.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/30-sim-socket_syscalls.py =================================================================== --- libseccomp-2.5.2.orig/tests/30-sim-socket_syscalls.py +++ libseccomp-2.5.2/tests/30-sim-socket_syscalls.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/31-basic-version_check.py =================================================================== --- libseccomp-2.5.2.orig/tests/31-basic-version_check.py +++ libseccomp-2.5.2/tests/31-basic-version_check.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/32-live-tsync_allow.py =================================================================== --- libseccomp-2.5.2.orig/tests/32-live-tsync_allow.py +++ libseccomp-2.5.2/tests/32-live-tsync_allow.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/33-sim-socket_syscalls_be.py =================================================================== --- libseccomp-2.5.2.orig/tests/33-sim-socket_syscalls_be.py +++ libseccomp-2.5.2/tests/33-sim-socket_syscalls_be.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/34-sim-basic_denylist.py =================================================================== --- libseccomp-2.5.2.orig/tests/34-sim-basic_denylist.py +++ libseccomp-2.5.2/tests/34-sim-basic_denylist.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/35-sim-negative_one.py =================================================================== --- libseccomp-2.5.2.orig/tests/35-sim-negative_one.py +++ libseccomp-2.5.2/tests/35-sim-negative_one.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/36-sim-ipc_syscalls.py =================================================================== --- libseccomp-2.5.2.orig/tests/36-sim-ipc_syscalls.py +++ libseccomp-2.5.2/tests/36-sim-ipc_syscalls.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/37-sim-ipc_syscalls_be.py =================================================================== --- libseccomp-2.5.2.orig/tests/37-sim-ipc_syscalls_be.py +++ libseccomp-2.5.2/tests/37-sim-ipc_syscalls_be.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/39-basic-api_level.py =================================================================== --- libseccomp-2.5.2.orig/tests/39-basic-api_level.py +++ libseccomp-2.5.2/tests/39-basic-api_level.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/40-sim-log.py =================================================================== --- libseccomp-2.5.2.orig/tests/40-sim-log.py +++ libseccomp-2.5.2/tests/40-sim-log.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/41-sim-syscall_priority_arch.py =================================================================== --- libseccomp-2.5.2.orig/tests/41-sim-syscall_priority_arch.py +++ libseccomp-2.5.2/tests/41-sim-syscall_priority_arch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/42-sim-adv_chains.py =================================================================== --- libseccomp-2.5.2.orig/tests/42-sim-adv_chains.py +++ libseccomp-2.5.2/tests/42-sim-adv_chains.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/43-sim-a2_order.py =================================================================== --- libseccomp-2.5.2.orig/tests/43-sim-a2_order.py +++ libseccomp-2.5.2/tests/43-sim-a2_order.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/44-live-a2_order.py =================================================================== --- libseccomp-2.5.2.orig/tests/44-live-a2_order.py +++ libseccomp-2.5.2/tests/44-live-a2_order.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/45-sim-chain_code_coverage.py =================================================================== --- libseccomp-2.5.2.orig/tests/45-sim-chain_code_coverage.py +++ libseccomp-2.5.2/tests/45-sim-chain_code_coverage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/46-sim-kill_process.py =================================================================== --- libseccomp-2.5.2.orig/tests/46-sim-kill_process.py +++ libseccomp-2.5.2/tests/46-sim-kill_process.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/47-live-kill_process.py =================================================================== --- libseccomp-2.5.2.orig/tests/47-live-kill_process.py +++ libseccomp-2.5.2/tests/47-live-kill_process.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/48-sim-32b_args.py =================================================================== --- libseccomp-2.5.2.orig/tests/48-sim-32b_args.py +++ libseccomp-2.5.2/tests/48-sim-32b_args.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/49-sim-64b_comparisons.py =================================================================== --- libseccomp-2.5.2.orig/tests/49-sim-64b_comparisons.py +++ libseccomp-2.5.2/tests/49-sim-64b_comparisons.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/50-sim-hash_collision.py =================================================================== --- libseccomp-2.5.2.orig/tests/50-sim-hash_collision.py +++ libseccomp-2.5.2/tests/50-sim-hash_collision.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/51-live-user_notification.py =================================================================== --- libseccomp-2.5.2.orig/tests/51-live-user_notification.py +++ libseccomp-2.5.2/tests/51-live-user_notification.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/52-basic-load.py =================================================================== --- libseccomp-2.5.2.orig/tests/52-basic-load.py +++ libseccomp-2.5.2/tests/52-basic-load.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/53-sim-binary_tree.py =================================================================== --- libseccomp-2.5.2.orig/tests/53-sim-binary_tree.py +++ libseccomp-2.5.2/tests/53-sim-binary_tree.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/54-live-binary_tree.py =================================================================== --- libseccomp-2.5.2.orig/tests/54-live-binary_tree.py +++ libseccomp-2.5.2/tests/54-live-binary_tree.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/56-basic-iterate_syscalls.py =================================================================== --- libseccomp-2.5.2.orig/tests/56-basic-iterate_syscalls.py +++ libseccomp-2.5.2/tests/56-basic-iterate_syscalls.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/57-basic-rawsysrc.py =================================================================== --- libseccomp-2.5.2.orig/tests/57-basic-rawsysrc.py +++ libseccomp-2.5.2/tests/57-basic-rawsysrc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/58-live-tsync_notify.py =================================================================== --- libseccomp-2.5.2.orig/tests/58-live-tsync_notify.py +++ libseccomp-2.5.2/tests/58-live-tsync_notify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.5.2/tests/regression =================================================================== --- libseccomp-2.5.2.orig/tests/regression +++ libseccomp-2.5.2/tests/regression @@ -253,9 +253,9 @@ function run_test_command() { cmd="$cmd:$(cd $(pwd)/../src/python/build/lib.*; pwd)" # check and adjust if we are doing a VPATH build if [[ -e "./$2.py" ]]; then - cmd="$cmd /usr/bin/env python $2.py $3" + cmd="$cmd /usr/bin/env python3 $2.py $3" else - cmd="$cmd /usr/bin/env python ${srcdir}/$2.py $3" + cmd="$cmd /usr/bin/env python3 ${srcdir}/$2.py $3" fi else cmd="$2 $3"
