From 543bcaa1f32aef767f5300b59e7d0a36f11f83d7bc7b91287f7e4040d468fe5a Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 10 Mar 2020 08:05:21 +0000 Subject: [PATCH] - Update use-pkg-config.patch to use the embedded profile, to build against Python 3.8. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setproctitle?expand=0&rev=37 --- python-setproctitle.changes | 6 ++++++ python-setproctitle.spec | 2 +- use-pkg-config.patch | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-setproctitle.changes b/python-setproctitle.changes index 7cd3791..14a1449 100644 --- a/python-setproctitle.changes +++ b/python-setproctitle.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 10 07:59:29 UTC 2020 - Steve Kowalik + +- Update use-pkg-config.patch to use the embedded profile, to build + against Python 3.8. + ------------------------------------------------------------------- Sun Sep 15 10:35:42 UTC 2019 - John Vandenberg diff --git a/python-setproctitle.spec b/python-setproctitle.spec index 90e8b78..8ffa4ab 100644 --- a/python-setproctitle.spec +++ b/python-setproctitle.spec @@ -1,7 +1,7 @@ # # spec file for package python-setproctitle # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 diff --git a/use-pkg-config.patch b/use-pkg-config.patch index 7bd3514..bac7e71 100644 --- a/use-pkg-config.patch +++ b/use-pkg-config.patch @@ -15,7 +15,7 @@ -PYINC := $(shell $(PYCONFIG) --includes) -PYLIB := $(shell $(PYCONFIG) --ldflags) -L$(shell $(PYCONFIG) --prefix)/lib +PYINC := $(shell $(PYCONFIG) python$(PYVER) --cflags) -+PYLIB := $(shell $(PYCONFIG) python$(PYVER) --libs) -L$(shell $(PYCONFIG) python$(PYVER) --prefix)/lib ++PYLIB := $(shell $(PYCONFIG) python$(PYVER)-embed --libs) -L$(shell $(PYCONFIG) python$(PYVER) --prefix)/lib BUILD_DIR = build/lib.$(PYVER)