From 2a9c1e5652365076b894e59fec2ecdf0fc780ad876fe74f1d12bbf14c30c14ff Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Thu, 27 Aug 2020 14:14:03 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/tellico?expand=0&rev=66 --- tellico.changes | 5 +++++ tellico.spec | 8 ++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tellico.changes b/tellico.changes index 3b24595..81bc468 100644 --- a/tellico.changes +++ b/tellico.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 27 14:12:30 UTC 2020 - Christophe Giboudeaux + +- Use %cmake_build instead of %make_jobs + ------------------------------------------------------------------- Tue Aug 11 11:20:21 UTC 2020 - Wolfgang Bauer diff --git a/tellico.spec b/tellico.spec index 3cd0dfc..45bc2a9 100644 --- a/tellico.spec +++ b/tellico.spec @@ -36,6 +36,7 @@ BuildRequires: libxslt-devel BuildRequires: libyaz-devel BuildRequires: pkgconfig BuildRequires: taglib-devel +BuildRequires: update-desktop-files BuildRequires: cmake(KF5Archive) BuildRequires: cmake(KF5Codecs) BuildRequires: cmake(KF5Config) @@ -67,9 +68,6 @@ BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) BuildRequires: pkgconfig(libxml-2.0) Recommends: %{name}-lang = %{version} -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif %description Tellico is an application for organizing your collections. It provides @@ -83,14 +81,12 @@ stamps, trading cards, comic books, and wines. %build %cmake_kf5 "-DENABLE_WEBCAM=true" -d build -%make_jobs +%cmake_build %install %kf5_makeinstall -C build -%if 0%{?suse_version} %suse_update_desktop_file -r org.kde.%{name} Qt KDE Office Database -%endif %find_lang %{name} %{kf5_find_htmldocs}