Accepting request 1132905 from devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/1132905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=104
This commit is contained in:
Ana Guerrero 2023-12-14 21:02:18 +00:00 committed by Git OBS Bridge
commit c2a17b9e18
2 changed files with 38 additions and 2 deletions

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Dec 12 01:47:37 UTC 2023 - Yifan Jiang <yfjiang@suse.com>
- Make BuildRequires libstdc++6-devel-gcc11 more precise, for
SLE 15 SP4 and SLE 15 SP5 only.
-------------------------------------------------------------------
Mon Dec 11 10:31:25 UTC 2023 - Yifan Jiang <yfjiang@suse.com>
- Specify clang and llvm versions in SLE/Leap.
-------------------------------------------------------------------
Mon Dec 11 10:25:14 UTC 2023 - Yifan Jiang <yfjiang@suse.com>
- Fix shebang replacement for ninja test cases. The curly brackets
are necessary for the macro expansion in the splitted lines
worked correctly.
-------------------------------------------------------------------
Mon Nov 27 14:29:20 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
@ -217,6 +235,13 @@ Sat Feb 25 16:14:07 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
+ clang-cl (13) now accepts cpp_std=c++20
+ a sizable collection of bug fixes
-------------------------------------------------------------------
Mon Jan 16 01:36:31 UTC 2023 - Yifan Jiang <yfjiang@suse.com>
- Add BuildRequires libstdc++6-devel-gcc11 for SLE 15 SP4 and
version above, which is necessary to make clang-tiny unit test
run.
-------------------------------------------------------------------
Thu Jan 5 04:43:00 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>

View File

@ -68,7 +68,11 @@ BuildArch: noarch
ExclusiveArch: x86_64
BuildRequires: %{python_module devel}
BuildRequires: bison
%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000
BuildRequires: clang17 >= 15
%else
BuildRequires: clang >= 15
%endif
BuildRequires: clang-tools >= 15
BuildRequires: cups-devel
BuildRequires: distribution-release
@ -104,8 +108,15 @@ BuildRequires: libjpeg-devel
BuildRequires: libpcap-devel
BuildRequires: libqt5-qtbase-common-devel
BuildRequires: libqt5-qtbase-private-headers-devel
%if 0%{?sle_version} == 150400 || 0%{?sle_version} == 150500
BuildRequires: libstdc++6-devel-gcc11
%endif
BuildRequires: libwmf-devel
%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000
BuildRequires: llvm17-devel
%else
BuildRequires: llvm-devel
%endif
BuildRequires: meson = %{version}
BuildRequires: ninja
BuildRequires: pkgconfig
@ -262,8 +273,8 @@ export PATH="${PWD}/bin:${PATH}"
c++ --version
# Fix shebang in test cases getting executed by ninja
%python_expand find test\ cases -type f -name "*.py" \
-exec sed -i "1s@#!.*python.*@#!$(realpath %{_bindir}/$python)@" {} +
%{python_expand find test\ cases -type f -name "*.py" \
-exec sed -i "1s@#!.*python.*@#!$(realpath %{_bindir}/$python)@" {} +}
%endif
export LANG=C.UTF-8