From d4aa6e94eb67749111aa2645473397c51d69fb60 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 7 Jun 2018 14:30:25 -0500 Subject: [PATCH] cleanup, use %majmin %make_build %ldconfig_scriptlets --- .gitignore | 6 ------ kf5-kbookmarks.spec | 12 +++++++----- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 3113450..a1d6117 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1 @@ -/kbookmarks-5.41.0.tar.xz -/kbookmarks-5.42.0.tar.xz -/kbookmarks-5.43.0.tar.xz -/kbookmarks-5.44.0.tar.xz -/kbookmarks-5.45.0.tar.xz -/kbookmarks-5.46.0.tar.xz /kbookmarks-5.47.0.tar.xz diff --git a/kf5-kbookmarks.spec b/kf5-kbookmarks.spec index a32d024..351f32a 100644 --- a/kf5-kbookmarks.spec +++ b/kf5-kbookmarks.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.47.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 3 addon for bookmarks manipulation License: LGPLv2+ @@ -38,7 +38,7 @@ XBEL format. Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel -Requires: kf5-kwidgetsaddons-devel >= %{version} +Requires: kf5-kwidgetsaddons-devel >= %{majmin} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -54,7 +54,7 @@ pushd %{_target_platform} %{cmake_kf5} .. popd -make %{?_smp_mflags} -C %{_target_platform} +%make_build -C %{_target_platform} %install @@ -63,8 +63,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang_kf5 kbookmarks5_qt -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -f kbookmarks5_qt.lang %doc README.md @@ -81,6 +80,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Thu Jun 07 2018 Rex Dieter - 5.47.0-2 +- cleanup, use %%majmin %%make_build %%ldconfig_scriptlets + * Sat Jun 02 2018 Rex Dieter - 5.47.0-1 - 5.47.0