From fc4218cfc9778b0772e975c717e103cb8223095d7a7291af3f26d0d14e7256ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 21 Jan 2021 10:17:57 +0000 Subject: [PATCH] Accepting request 865329 from home:jayvdb:branches:devel:languages:python - Add note that this package is not PyPI 'pycxx' - Fix Tumbleweed multi Python 3 builds OBS-URL: https://build.opensuse.org/request/show/865329 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycxx?expand=0&rev=9 --- python-pycxx.changes | 6 ++++++ python-pycxx.spec | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-pycxx.changes b/python-pycxx.changes index 981fa37..5037fd3 100644 --- a/python-pycxx.changes +++ b/python-pycxx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 20 10:40:18 UTC 2021 - John Vandenberg + +- Add note that this package is not PyPI 'pycxx' +- Fix Tumbleweed multi Python 3 builds + ------------------------------------------------------------------- Fri May 29 20:32:15 UTC 2020 - Matej Cepl diff --git a/python-pycxx.spec b/python-pycxx.spec index b814d8f..8a8b3fe 100644 --- a/python-pycxx.spec +++ b/python-pycxx.spec @@ -16,6 +16,8 @@ # +# Note PyPI 'pycxx' is a different package, +# and this package is not 'cxx' or 'CXX' on PyPI %global modname pycxx %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python @@ -93,11 +95,7 @@ rm -r Doc/Python3 && mv Doc/Python2 Doc/Python %files %{python_files devel} %doc Doc/Python/ -%ifpython3 -%{_datadir}/python%{python3_bin_suffix} -%else -%{_datadir}/python%{python2_bin_suffix} -%endif +%{_datadir}/python%{python_bin_suffix} %{python_sysconfig_path include} %changelog