Accepting request 1224239 from devel:languages:python:Factory

- Remove -IVendor/ from python-config boo#1231795
- Require exact clang18 and llvm18, because apparently CPython is
  not ready for 19 yet (gh#python/cpython!125499).

OBS-URL: https://build.opensuse.org/request/show/1224239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python314?expand=0&rev=2
This commit is contained in:
2024-11-15 14:42:33 +00:00
committed by Git OBS Bridge
2 changed files with 16 additions and 2 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Nov 14 07:06:20 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Remove -IVendor/ from python-config boo#1231795
-------------------------------------------------------------------
Mon Nov 11 14:37:12 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Require exact clang18 and llvm18, because apparently CPython is
not ready for 19 yet (gh#python/cpython!125499).
-------------------------------------------------------------------
Wed Oct 16 07:00:15 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -261,8 +261,8 @@ BuildRequires: python3-python-docs-theme >= 2022.1
%if %{with experimental_jit}
# needed for experimental_jit
BuildRequires: clang => 18
BuildRequires: llvm => 18
BuildRequires: clang18
BuildRequires: llvm18
%endif
%if %{without GIL}
@@ -839,6 +839,9 @@ install -m 755 -D Tools/gdb/libpython.py %{buildroot}%{_datadir}/gdb/auto-load/%
# install devel files to /config
#cp Makefile Makefile.pre.in Makefile.pre $RPM_BUILD_ROOT%%{sitedir}/config-%%{python_abi}/
# Remove -IVendor/ from python-config boo#1231795
sed -i 's/-IVendor\///' %{buildroot}%{_bindir}/python%{python_abi}-config
# RPM macros
%if %{primary_interpreter}
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/