.spec cosmetics, fix %%check

epel9
Rex Dieter 4 years ago
parent c7ee5b6c8a
commit ffb661e3a0

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

Loading…
Cancel
Save