From f9f22f11cdea901110d116f03987f3db03f64fbd Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 13 Aug 2021 08:45:31 -0500 Subject: [PATCH] .spec cosmetics, update %%files --- kf5-kunitconversion.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/kf5-kunitconversion.spec b/kf5-kunitconversion.spec index 7dde286..d9b7aeb 100644 --- a/kf5-kunitconversion.spec +++ b/kf5-kunitconversion.spec @@ -1,13 +1,12 @@ -%undefine __cmake_in_source_build %global framework kunitconversion -Name: kf5-%{framework} +Name: kf5-%{framework} Version: 5.85.0 Release: 1%{?dist} -Summary: KDE Frameworks 5 Tier 2 addon for unit conversions +Summary: KDE Frameworks 5 Tier 2 addon for unit conversions -License: LGPLv2+ -URL: https://invent.kde.org/frameworks/%{framework} +License: LGPLv2+ +URL: https://invent.kde.org/frameworks/%{framework} %global majmin %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -16,7 +15,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 BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: kf5-ki18n-devel >= %{majmin} @@ -40,7 +39,8 @@ developing applications that use %{name}. %build -%{cmake_kf5} +%cmake_kf5 + %cmake_build @@ -56,6 +56,7 @@ developing applications that use %{name}. %doc README.md %license LICENSES/*.txt %{_kf5_libdir}/libKF5UnitConversion.so.* +%{_kf5_datadir}/qlogging-categories5/%{framework}.* %files devel %{_kf5_includedir}/kunitconversion_version.h