Hello community,

here is the log from the commit of package libqt5-creator for openSUSE:Factory 
checked in at 2017-01-20 13:07:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-creator (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-creator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-creator"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-creator/libqt5-creator.changes    
2017-01-04 19:36:27.136281552 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-creator.new/libqt5-creator.changes       
2017-01-20 13:07:39.467517343 +0100
@@ -1,0 +2,5 @@
+Fri Jan 13 09:01:50 UTC 2017 - fab...@ritter-vogt.de
+
+- Use correct version for llvm-clang-devel dependency
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libqt5-creator.spec ++++++
--- /var/tmp/diff_new_pack.Up7mw7/_old  2017-01-20 13:07:40.995299277 +0100
+++ /var/tmp/diff_new_pack.Up7mw7/_new  2017-01-20 13:07:40.999298707 +0100
@@ -15,6 +15,17 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# Enable the clangcodemodel plugin on openSUSE TW only for now (Needs Clang 
3.9)
+%ifarch %arm %ix86 x86_64
+%if 0%{?is_opensuse} && 0%{suse_version} >= 1330
+%global enable_clang 1
+%else
+%global enable_clang 0
+%endif
+%else
+%global enable_clang 0
+%endif
+
 
 Name:           libqt5-creator
 Version:        4.2.0
@@ -42,11 +53,8 @@
 BuildRequires:  libqt5-qtscript-devel >= %{qt5_version}
 BuildRequires:  libqt5-qttools-private-headers-devel >= %{qt5_version}
 BuildRequires:  libqt5-qtx11extras-devel >= %{qt5_version}
-# Enable the clangcodemodel plugin on OpenSUSE and SLE12-SP3 or newer, which 
have LLVM >= 3.9
-%ifarch %arm %ix86 x86_64
-%if 0%{?is_opensuse}
-BuildRequires:  llvm-clang-devel
-%endif
+%if %{enable_clang}
+BuildRequires:  llvm-clang-devel >= 3.9
 %endif
 BuildRequires:  update-desktop-files
 BuildRequires:  xz
@@ -92,13 +100,10 @@
 # https://bugzilla.opensuse.org/962650
 sed -i s,libexec/qtcreator,%{_lib}/qtcreator/libexec,g 
src/plugins/coreplugin/icore.cpp
 
-# Enable the clangcodemodel plugin on OpenSUSE and SLE12-SP2 or newer, which 
have LLVM >= 3.6.
-%ifarch %arm %ix86 x86_64
-ver=$(llvm-config --version)
-if expr $ver '>=' 3.9.0 1>/dev/null; then
+%if %{enable_clang}
 opts="LLVM_INSTALL_DIR=%{_prefix}"
-fi
 %endif
+
 opts="$opts IDE_LIBRARY_BASENAME=%{_lib} USE_SYSTEM_BOTAN=1"
 
 %qmake5 $opts


Reply via email to