14
0

- 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
This commit is contained in:
2020-03-10 08:05:21 +00:00
committed by Git OBS Bridge
parent fed55ff656
commit 543bcaa1f3
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 10 07:59:29 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <jayvdb@gmail.com> Sun Sep 15 10:35:42 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-setproctitle # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

@@ -15,7 +15,7 @@
-PYINC := $(shell $(PYCONFIG) --includes) -PYINC := $(shell $(PYCONFIG) --includes)
-PYLIB := $(shell $(PYCONFIG) --ldflags) -L$(shell $(PYCONFIG) --prefix)/lib -PYLIB := $(shell $(PYCONFIG) --ldflags) -L$(shell $(PYCONFIG) --prefix)/lib
+PYINC := $(shell $(PYCONFIG) python$(PYVER) --cflags) +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) BUILD_DIR = build/lib.$(PYVER)