Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package include-what-you-use for
openSUSE:Factory checked in at 2021-06-02 22:12:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/include-what-you-use (Old)
and /work/SRC/openSUSE:Factory/.include-what-you-use.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "include-what-you-use"
Wed Jun 2 22:12:08 2021 rev:12 rq:896785 version:0.16
Changes:
--------
---
/work/SRC/openSUSE:Factory/include-what-you-use/include-what-you-use.changes
2020-11-26 23:15:22.957037041 +0100
+++
/work/SRC/openSUSE:Factory/.include-what-you-use.new.1898/include-what-you-use.changes
2021-06-02 22:12:35.260101549 +0200
@@ -1,0 +2,11 @@
+Fri May 28 21:39:05 UTC 2021 - Aaron Puchert <[email protected]>
+
+- Update to version 0.16, update LLVM/Clang to version 12.
+ * Let iwyu_tool accept --load/-l argument for load limiting.
+ * Let iwyu_tool signal success/failure with exit code.
+ * Harmonize mapping generators.
+ * Add mapping generator for CPython.
+ * Improve mappings for libstdc++ and Boost.
+- Rebase iwyu_include_picker.patch.
+
+-------------------------------------------------------------------
Old:
----
include-what-you-use-0.15.src.tar.gz
New:
----
include-what-you-use-0.16.src.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ include-what-you-use.spec ++++++
--- /var/tmp/diff_new_pack.YPqHwa/_old 2021-06-02 22:12:35.756100324 +0200
+++ /var/tmp/diff_new_pack.YPqHwa/_new 2021-06-02 22:12:35.760100314 +0200
@@ -1,8 +1,8 @@
#
# spec file for package include-what-you-use
#
-# Copyright (c) 2020 SUSE LLC
-# Copyright (c) 2020 Aaron Puchert.
+# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2021 Aaron Puchert.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
Name: include-what-you-use
-Version: 0.15
+Version: 0.16
Release: 0
Summary: A tool to analyze #includes in C and C++ source files
License: NCSA
@@ -29,10 +29,10 @@
Patch2: iwyu_include_picker.patch
Patch3: remove-x86-specific-code.patch
BuildRequires: c++_compiler
-BuildRequires: clang11-devel
+BuildRequires: clang12-devel
BuildRequires: cmake
BuildRequires: libstdc++-devel
-BuildRequires: llvm11-devel
+BuildRequires: llvm12-devel
BuildRequires: python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -60,7 +60,7 @@
refactoring tool.
%prep
-%setup -q -c
+%setup -q -n %{name}
%patch1 -p1
%patch2 -p1
%patch3 -p1
@@ -80,15 +80,13 @@
%check
# We don't support MS style inline assembly, because we removed the dependency
-# on the X86 target of LLVM.
-rm tests/cxx/ms_inline_asm.cc
-
-# Test doesn't work on ARM.
+# on the X86 target of LLVM. On ARM, badinc doesn't work for some reason.
%ifarch %arm
-rm tests/cxx/badinc.cc
+%define exclude_tests ^cxx.test_(badinc|ms_inline_asm)$
+%else
+%define exclude_tests ^cxx.test_ms_inline_asm$
%endif
-
-%ctest
+%{ctest '-E' '%exclude_tests'}
%files
%license LICENSE.TXT
++++++ include-what-you-use-0.15.src.tar.gz ->
include-what-you-use-0.16.src.tar.gz ++++++
++++ 170695 lines of diff (skipped)
++++++ iwyu_include_picker.patch ++++++
--- /var/tmp/diff_new_pack.YPqHwa/_old 2021-06-02 22:12:36.056099582 +0200
+++ /var/tmp/diff_new_pack.YPqHwa/_new 2021-06-02 22:12:36.056099582 +0200
@@ -20,9 +20,9 @@
// I then added in NULL, which according to [diff.null] C.2.2.3, can
// be defined in <clocale>, <cstddef>, <cstdio>, <cstdlib>,
@@ -237,11 +237,28 @@ const IncludeMapEntry libstdcpp_symbol_map[] = {
- { "std::char_traits", kPrivate, "<string>", kPublic },
- { "std::char_traits", kPrivate, "<ostream>", kPublic },
- { "std::char_traits", kPrivate, "<istream>", kPublic },
+ { "std::size_t", kPrivate, "<ctime>", kPublic },
+ { "std::size_t", kPrivate, "<cuchar>", kPublic },
+ { "std::size_t", kPrivate, "<cwchar>", kPublic },
+ // Using pair.
+ { "std::pair", kPrivate, "<map>", kPublic },
+ { "std::pair", kPrivate, "<multimap>", kPublic },