From 88567decb6269ff4c04487f9c7de11157460796829b433d20e7cba64fc17a41d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 7 Dec 2015 14:31:35 +0000 Subject: [PATCH] - Fix build by passing --without-python3 argument. For now we are fine with py2 bindings only OBS-URL: https://build.opensuse.org/package/show/security/libcap-ng?expand=0&rev=27 --- libcap-ng-python.changes | 6 ++++++ libcap-ng-python.spec | 5 +++-- libcap-ng.spec | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libcap-ng-python.changes b/libcap-ng-python.changes index 81bcc7d..134bd19 100644 --- a/libcap-ng-python.changes +++ b/libcap-ng-python.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 7 14:31:06 UTC 2015 - tchvatal@suse.com + +- Fix build by passing --without-python3 argument. For now we are + fine with py2 bindings only + ------------------------------------------------------------------- Wed Dec 2 14:29:55 UTC 2015 - p.drouand@gmail.com diff --git a/libcap-ng-python.spec b/libcap-ng-python.spec index 05f944c..499efcb 100644 --- a/libcap-ng-python.spec +++ b/libcap-ng-python.spec @@ -1,7 +1,7 @@ # # spec file for package libcap-ng-python # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -55,7 +55,8 @@ and can be used by python applications. %configure \ --disable-static \ --with-pic \ - --with-python + --with-python \ + --without-python3 make %{?_smp_mflags} %install diff --git a/libcap-ng.spec b/libcap-ng.spec index 55174de..ba1c12d 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -1,7 +1,7 @@ # # spec file for package libcap-ng # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed