diff --git a/kde-connect.spec b/kde-connect.spec index ad07425..5a7fe72 100644 --- a/kde-connect.spec +++ b/kde-connect.spec @@ -1,7 +1,7 @@ Name: kde-connect Version: 1.2.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Summary: KDE Connect client for communication with smartphones @@ -20,6 +20,7 @@ Source2: kde-connect.xml BuildRequires: desktop-file-utils BuildRequires: firewalld-filesystem +BuildRequires: gcc-c++ BuildRequires: extra-cmake-modules >= 5.42 BuildRequires: kf5-rpm-macros @@ -95,7 +96,7 @@ pushd %{_target_platform} %{cmake_kf5} .. popd -make %{?_smp_mflags} -C %{_target_platform} +%make_build -C %{_target_platform} %install @@ -146,8 +147,7 @@ fi %{_datadir}/dbus-1/services/org.kde.kdeconnect.service %{_prefix}/lib/firewalld/services/kde-connect.xml -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files libs %{_kf5_libdir}/libkdeconnectpluginkcm.so.1* @@ -158,6 +158,10 @@ fi %changelog +* Sun Mar 04 2018 Rex Dieter - 1.2.1-3 +- use %%make_build %%ldconfig_scriptlets +- BR: gcc-c++ + * Wed Feb 07 2018 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild