Hello community,

here is the log from the commit of package clazy for openSUSE:Factory checked 
in at 2019-10-16 09:18:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clazy (Old)
 and      /work/SRC/openSUSE:Factory/.clazy.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clazy"

Wed Oct 16 09:18:00 2019 rev:6 rq:738561 version:1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/clazy/clazy.changes      2019-10-04 
16:06:57.456667525 +0200
+++ /work/SRC/openSUSE:Factory/.clazy.new.2352/clazy.changes    2019-10-16 
09:18:14.547010291 +0200
@@ -1,0 +2,21 @@
+Tue Oct 15 07:41:03 UTC 2019 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 1.6:
+  * New Checks:
+    - heap-allocated-small-trivial-type
+    - signal-with-return-value
+    - qproperty-type-mismatch, contributed by Jean-Michaƫl Celerier
+  * Removed level3. Moved all level3 checks to manual level.
+  * Fixed regressions with LLVM 9.0
+  * Minimum LLVM was bumped to 5.0
+  * Fixit infrastructure was overhauled
+  * Clazy no longer rewrites files directly, to avoid races
+    when parallel invocations change the same header.
+  * Clazy now exports a yaml file with the replacements, to be
+    applied with clang-apply-replacements.
+  * The way to enable code rewrite is now: -Xclang -plugin-arg-clazy
+    -Xclang export-fixes for clang or -export-fixes=somefile.yaml for 
clazy-standalone
+  * All other fixit arguments and fixit env variables were removed
+- Update cmake-clang-cpp.patch to make clazy build with both clang 8 and 9.
+
+-------------------------------------------------------------------

Old:
----
  clazy-1.5.tar.xz

New:
----
  clazy-1.6.tar.xz

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

Other differences:
------------------
++++++ clazy.spec ++++++
--- /var/tmp/diff_new_pack.BmG4OX/_old  2019-10-16 09:18:15.023009064 +0200
+++ /var/tmp/diff_new_pack.BmG4OX/_new  2019-10-16 09:18:15.027009053 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           clazy
-Version:        1.5
+Version:        1.6
 Release:        0
 Summary:        Qt oriented code checker based on the Clang framework
 License:        LGPL-2.0-or-later
@@ -57,10 +57,11 @@
 
 %files
 %license COPYING-LGPL2.txt
+%doc %{_datadir}/doc/clazy
 %doc README.md HOWTO Changelog
 %{_bindir}/clazy
 %{_bindir}/clazy-standalone
-%doc %{_datadir}/doc/clazy
+%{_datadir}/metainfo/org.kde.clazy.metainfo.xml
 %{_libdir}/ClazyPlugin.so
 %{_mandir}/man1/clazy.1%{?ext_man}
 

++++++ clazy-1.5.tar.xz -> clazy-1.6.tar.xz ++++++
++++ 12918 lines of diff (skipped)

++++++ cmake-clang-cpp.patch ++++++
--- /var/tmp/diff_new_pack.BmG4OX/_old  2019-10-16 09:18:15.235008517 +0200
+++ /var/tmp/diff_new_pack.BmG4OX/_new  2019-10-16 09:18:15.235008517 +0200
@@ -1,6 +1,38 @@
-diff --git a/cmake/FindClang.cmake.orig b/cmake/FindClang.cmake
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4e60d1f..74282fd 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -82,12 +82,6 @@ include_directories(${CMAKE_BINARY_DIR})
+ include_directories(${CLANG_INCLUDE_DIRS} ${CMAKE_CURRENT_LIST_DIR} 
${CMAKE_CURRENT_LIST_DIR}/src)
+ link_directories("${LLVM_INSTALL_PREFIX}/lib" ${LLVM_LIBRARY_DIRS})
+ 
+-if (${LLVM_VERSION} VERSION_GREATER_EQUAL "9.0.0")
+-    set(clang_tooling_refactoring_lib clangToolingRefactoring)
+-else()
+-    set(clang_tooling_refactoring_lib clangToolingRefactor)
+-endif()
+-
+ macro(link_to_llvm name is_standalone)
+   foreach(clang_lib ${CLANG_LIBS})
+     if(MSVC)
+@@ -125,9 +119,13 @@ macro(link_to_llvm name is_standalone)
+   if(WIN32)
+     target_link_libraries(${name} version.lib)
+   endif()
++  if (${LLVM_VERSION} VERSION_LESS "9.0.0")
+     target_link_libraries(${name} clangTooling)
+     target_link_libraries(${name} clangToolingCore)
+-    target_link_libraries(${name} ${clang_tooling_refactoring_lib})
++    target_link_libraries(${name} clangToolingRefactor)
++  else()
++    target_link_libraries(${name} clang-cpp)
++  endif()
+ endmacro()
+ 
+ macro(add_clang_plugin name)
+diff --git a/cmake/FindClang.cmake b/cmake/FindClang.cmake
 index 542172e..50e0829 100644
---- a/cmake/FindClang.cmake.orig
+--- a/cmake/FindClang.cmake
 +++ b/cmake/FindClang.cmake
 @@ -62,6 +62,7 @@ if (LLVM_FOUND AND LLVM_LIBRARY_DIRS)
    # note: On Windows there's 'libclang.dll' instead of 'clang.dll' -> search 
for 'libclang', too


Reply via email to