Hello community,

here is the log from the commit of package include-what-you-use for 
openSUSE:Factory checked in at 2020-11-26 23:14:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/include-what-you-use (Old)
 and      /work/SRC/openSUSE:Factory/.include-what-you-use.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "include-what-you-use"

Thu Nov 26 23:14:10 2020 rev:11 rq:850832 version:0.15

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/include-what-you-use/include-what-you-use.changes    
    2020-05-20 18:46:24.801410513 +0200
+++ 
/work/SRC/openSUSE:Factory/.include-what-you-use.new.5913/include-what-you-use.changes
      2020-11-26 23:15:22.957037041 +0100
@@ -1,0 +2,18 @@
+Wed Nov 25 22:20:24 UTC 2020 - Aaron Puchert <aaronpuch...@alice-dsl.net> 
+
+- Update to version 0.15, update LLVM/Clang to version 11.
+  * Fix crash due to undefined behavior in AST traversal.
+  * Improve handling of operator new including C++17 features.
+  * Improve handling of templates.
+  * In iwyu_tool, remove known compiler wrappers from the command
+    list.
+  * Improve Qt mapping generator.
+  * Improve boost mappings.
+  * Improve built-in mappings for <time.h>.
+  * Add built-in mappings for max_align_t, ptrdiff_t, and wchar_t.
+  * Support shared LLVM/Clang libraries and other improvements.
+- Get rid of obsolete test workaround, which stopped working on
+  32-bit architectures for some reason. Instead we use plain %ctest
+  now, but fix the mirror directory on 64-bit architectures.
+
+-------------------------------------------------------------------

Old:
----
  include-what-you-use-0.14.src.tar.gz

New:
----
  include-what-you-use-0.15.src.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ include-what-you-use.spec ++++++
--- /var/tmp/diff_new_pack.umegmV/_old  2020-11-26 23:15:23.617037554 +0100
+++ /var/tmp/diff_new_pack.umegmV/_new  2020-11-26 23:15:23.621037557 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           include-what-you-use
-Version:        0.14
+Version:        0.15
 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:  clang10-devel
+BuildRequires:  clang11-devel
 BuildRequires:  cmake
 BuildRequires:  libstdc++-devel
-BuildRequires:  llvm10-devel
+BuildRequires:  llvm11-devel
 BuildRequires:  python
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -60,10 +60,11 @@
 refactoring tool.
 
 %prep
-%setup -q -n %{name}
+%setup -q -c
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+sed -i s#lib/#lib\${LLVM_LIBDIR_SUFFIX}/#g CMakeLists.txt
 
 %build
 # Remove obsolete files - this is now hardcoded into iwyu_include_picker.cc.
@@ -87,18 +88,7 @@
 rm tests/cxx/badinc.cc
 %endif
 
-# IWYU needs to find Clang's builtin headers. It looks for them relative to the
-# binary (https://clang.llvm.org/docs/LibTooling.html#builtin-includes), but
-# since it isn't installed into /usr/bin, it fails to find them. So we pass
-# the directory manually to the executable, and because the test driver doesn't
-# allow us to specify additional flags, we build a stub.
-# Note that this isn't a problem for the installed package, because it will be
-# in the same directory as the Clang binary.
-export CLANG_BUILTIN_DIR=%{_libdir}/clang/%{_llvm_relver}/include
-echo -e "#!/bin/bash\\nbuild/bin/include-what-you-use -isystem 
${CLANG_BUILTIN_DIR} \$@" >iwyu-stub
-chmod +x iwyu-stub
-# We suppress stdout because it's pretty noisy. Failures are written to stderr.
-./run_iwyu_tests.py -- ./iwyu-stub >/dev/null
+%ctest
 
 %files
 %license LICENSE.TXT

++++++ include-what-you-use-0.14.src.tar.gz -> 
include-what-you-use-0.15.src.tar.gz ++++++
++++ 150572 lines of diff (skipped)
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to