Accepting request 838363 from home:cgiboudeaux:branches:KDE:Qt:5.15
- Fix the clang requirement for Leap 15.2. The clang headers are also in the libclang<major version> package. - Use the %pkg_version macro available since Leap 15 OBS-URL: https://build.opensuse.org/request/show/838363 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.15/libqt5-qttools?expand=0&rev=12
This commit is contained in:
parent
e1a338d6d9
commit
733ce79cf3
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 28 08:12:24 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Fix the clang requirement for Leap 15.2. The clang headers are
|
||||||
|
also in the libclang<major version> package.
|
||||||
|
- Use the %pkg_version macro available since Leap 15
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 10 07:57:29 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
|
Thu Sep 10 07:57:29 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
@ -208,10 +208,12 @@ License: GPL-3.0-only
|
|||||||
Provides: libqt5-qtbase-doc = %{version}
|
Provides: libqt5-qtbase-doc = %{version}
|
||||||
Obsoletes: libqt5-qtbase-doc < %{version}
|
Obsoletes: libqt5-qtbase-doc < %{version}
|
||||||
# qdoc hardcodes clang include paths: boo#1109367, QTBUG-70687
|
# qdoc hardcodes clang include paths: boo#1109367, QTBUG-70687
|
||||||
%if 0%{?suse_version} < 1550
|
%global _clang_major_version %(printf %{pkg_version clang-devel} | cut -d. -f1)
|
||||||
%requires_eq clang%(rpm -q --qf '%''{version}' clang-devel | cut -d. -f1)
|
|
||||||
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
|
||||||
|
%requires_eq libclang%{_clang_major_version}
|
||||||
%else
|
%else
|
||||||
%requires_eq libclang%(rpm -q --qf '%''{version}' clang-devel | cut -d. -f1)
|
%requires_eq clang%{_clang_major_version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
|
Loading…
Reference in New Issue
Block a user