forked from pool/kactivities-stats
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/kactivities-stats?expand=0&rev=98
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 11:38:02 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:37 UTC 2019 - lbeltrame@kde.org
|
||||
|
||||
|
@@ -41,13 +41,7 @@ BuildRequires: cmake(KF5Config) >= %{_kf5_bugfix_version}
|
||||
BuildRequires: cmake(Qt5Core) >= 5.3.0
|
||||
BuildRequires: cmake(Qt5DBus) >= 5.3.0
|
||||
BuildRequires: cmake(Qt5Sql) >= 5.3.0
|
||||
%if 0%{?suse_version} > 1325
|
||||
BuildRequires: libboost_headers-devel
|
||||
%else
|
||||
BuildRequires: boost-devel
|
||||
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
||||
BuildRequires: gcc7-c++
|
||||
%endif
|
||||
|
||||
%description
|
||||
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
||||
@@ -72,16 +66,8 @@ Development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n kactivities-stats-%{version}
|
||||
%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} <= 1325
|
||||
# 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
|
||||
%make_jobs
|
||||
|
||||
|
Reference in New Issue
Block a user