diff --git a/kf5-kactivities-stats.spec b/kf5-kactivities-stats.spec index 96fa5dd..1323441 100644 --- a/kf5-kactivities-stats.spec +++ b/kf5-kactivities-stats.spec @@ -1,14 +1,13 @@ -%undefine __cmake_in_source_build %global framework kactivities-stats -Name: kf5-%{framework} -Summary: A KDE Frameworks 5 Tier 3 library for accessing the usage data collected by the activities system +Name: kf5-%{framework} +Summary: A KDE Frameworks 5 Tier 3 library for accessing the usage data collected by the activities system Version: 5.85.0 Release: 1%{?dist} # KDE e.V. may determine that future GPL versions are accepted -License: LGPLv2 or LGPLv3 -URL: https://invent.kde.org/frameworks/%{framework} +License: LGPLv2 or LGPLv3 +URL: https://invent.kde.org/frameworks/%{framework} %global majmin %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -17,7 +16,7 @@ URL: https://invent.kde.org/frameworks/%{framework} %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz ## upstream patches @@ -30,7 +29,6 @@ BuildRequires: pkgconfig BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtbase-devel -BuildRequires: make %description %{summary}. @@ -48,8 +46,9 @@ Requires: qt5-qtbase-devel %build -%{cmake_kf5} \ +%cmake_kf5 \ -DBUILD_TESTING=ON + %cmake_build @@ -61,7 +60,7 @@ rm -fv %{buildroot}/etc/xdg/kactivities-stats.categories # Currently includes no tests %check -make test -C %{_target_platform} +%ctest ||: %ldconfig_scriptlets