Cleanup:
- Don't lower minimum Qt version anymore - Drop patches for Qt 5.9 - Drop patches for Leap 42.x - Drop conditionals for no longer supported distribution versions OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kxmlgui?expand=0&rev=198
This commit is contained in:
parent
0e19625df5
commit
a8e69b1818
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 11:45:50 UTC 2019 - Wolfgang Bauer <wbauer@tmo.at>
|
||||
|
||||
- Don't lower minimum Qt version anymore, it requires 5.11 now
|
||||
- Drop conditionals for no longer supported openSUSE versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 14 06:41:40 UTC 2019 - lbeltrame@kde.org
|
||||
|
||||
|
12
kxmlgui.spec
12
kxmlgui.spec
@ -58,10 +58,6 @@ BuildRequires: cmake(Qt5Test) >= 5.6.0
|
||||
BuildRequires: cmake(Qt5Widgets) >= 5.6.0
|
||||
BuildRequires: cmake(Qt5Xml) >= 5.6.0
|
||||
BuildRequires: pkgconfig(x11)
|
||||
%if 0%{?suse_version} < 1330
|
||||
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
||||
BuildRequires: gcc7-c++
|
||||
%endif
|
||||
|
||||
%description
|
||||
libkxmlgui provides a framework for managing menu and toolbar actions in an
|
||||
@ -104,16 +100,8 @@ description for example for integrating actions from plugins. Development files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if 0%{?suse_version} == 1500
|
||||
sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt
|
||||
%endif
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} < 1330
|
||||
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
||||
export CC=gcc-7
|
||||
export CXX=g++-7
|
||||
%endif
|
||||
%cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir}
|
||||
%make_jobs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user