Hello community,
here is the log from the commit of package clazy for openSUSE:Factory checked in at 2018-09-07 15:36:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clazy (Old)
and /work/SRC/openSUSE:Factory/.clazy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "clazy"
Fri Sep 7 15:36:26 2018 rev:1 rq:632996 version:1.3
Changes:
--------
New Changes file:
--- /dev/null 2018-09-06 11:34:12.900627678 +0200
+++ /work/SRC/openSUSE:Factory/.clazy.new/clazy.changes 2018-09-07 15:36:27.774727648 +0200
@@ -0,0 +1,9 @@
+-------------------------------------------------------------------
+Tue Sep 4 08:26:36 UTC 2018 - Martin Pluskal
+
+- Small packaging adjustements
+
+-------------------------------------------------------------------
+Wed Aug 29 15:05:32 UTC 2018 - Christophe Giboudeaux
+
+- Add Clazy 1.3, a code checker based on the Clang framework.
New:
----
clazy-1.3.tar.xz
clazy.changes
clazy.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ clazy.spec ++++++
#
# spec file for package clazy
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: clazy
Version: 1.3
Release: 0
Summary: Qt oriented code checker based on the Clang framework
License: LGPL-2.0-or-later
Group: Development/Tools/Other
URL: https://www.kdab.com/clazy-video/
Source0: %{name}-%{version}.tar.xz
BuildRequires: clang
BuildRequires: cmake >= 3.0
BuildRequires: libstdc++-devel
BuildRequires: llvm-clang-devel >= 3.8
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(zlib)
%description
clazy is a compiler plugin which allows Clang to understand Qt semantics.
You get more than 50 Qt related compiler warnings, ranging from unneeded memory
allocations to misusage of API, including fix-its for automatic refactoring.
%prep
%setup -q
%build
export CXXFLAGS="`echo %{optflags} | sed 's#-fstack-clash-protection##'`"
export CFLAGS="$CXXFLAGS"
sed -i 's#man/man1#%{_mandir}/man1#' CMakeLists.txt
# -Wl,--no-undefined causes linker errors on leap 42.3
%cmake \
%if 0%{?suse_version} == 1315
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
%endif
%make_jobs
%install
%cmake_install
sed -i 's#%{_bindir}/env sh#/bin/sh#' %{buildroot}%{_bindir}/clazy
%files
%license COPYING-LGPL2.txt
%doc README.md HOWTO Changelog
%{_bindir}/clazy
%{_bindir}/clazy-standalone
%{_datadir}/clazy
%{_libdir}/ClangLazy.so
%{_mandir}/man1/clazy.1%{?ext_man}
%changelog