forked from pool/python-pycxx
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
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 20 10:40:18 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user