From bb9eba9412ee2ec1943b1e18a6187d74c5c1d7c5 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 14 May 2021 13:16:46 -0500 Subject: [PATCH] cleanup --- libkscreen-qt5.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libkscreen-qt5.spec b/libkscreen-qt5.spec index 403bc61..b505571 100644 --- a/libkscreen-qt5.spec +++ b/libkscreen-qt5.spec @@ -6,7 +6,7 @@ Version: 5.21.90 Release: 1%{?dist} License: GPLv2+ -URL: https://cgit.kde.org/%{base_name}.git +URL: https://invent.kde.org/plasma/%{base_name} %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 @@ -14,8 +14,9 @@ URL: https://cgit.kde.org/%{base_name}.git %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz -Patch1: libkscreen-5.6.4-rhel-nowayland.patch +Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz + +Patch1: libkscreen-5.6.4-rhel-nowayland.patch # filter plugin provides %global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$ @@ -55,13 +56,14 @@ developing applications that use %{name}. %prep %setup -q -n %{base_name}-%{version} + %if 0%{?rhel} && 0%{?rhel} <= 7 %patch1 -p1 -b .nowayland %endif %build -%{cmake_kf5} +%cmake_kf5 %cmake_build @@ -73,7 +75,7 @@ developing applications that use %{name}. %ldconfig_scriptlets %files -%license COPYING +%license LICENSES/* %{_kf5_bindir}/kscreen-doctor %{_kf5_libexecdir}/kscreen_backend_launcher %{_kf5_libdir}/libKF5Screen.so.5.*