cleanup, use %make_build %ldconfig_scriptlets

epel9
Rex Dieter 7 years ago
parent 829a98c841
commit dd2f715a83

9
.gitignore vendored

@ -1,10 +1 @@
/kglobalaccel-5.38.1.tar.xz
/kglobalaccel-5.39.0.tar.xz
/kglobalaccel-5.40.0.tar.xz
/kglobalaccel-5.41.0.tar.xz
/kglobalaccel-5.42.0.tar.xz
/kglobalaccel-5.43.0.tar.xz
/kglobalaccel-5.44.0.tar.xz
/kglobalaccel-5.45.0.tar.xz
/kglobalaccel-5.46.0.tar.xz
/kglobalaccel-5.47.0.tar.xz

@ -1,12 +1,12 @@
%global framework kglobalaccel
Name: kf5-%{framework}
Name: kf5-%{framework}
Version: 5.47.0
Release: 1%{?dist}
Summary: KDE Frameworks 5 Tier 3 integration module for global shortcuts
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 integration module for global shortcuts
License: LGPLv2+
URL: https://cgit.kde.org/%{framework}.git
License: LGPLv2+
URL: https://cgit.kde.org/%{framework}.git
%global majmin %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3)
@ -70,7 +70,7 @@ pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
%install
@ -87,8 +87,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_datadir}/kservices5/kglobalaccel5.desktop
%{_datadir}/dbus-1/services/org.kde.kglobalaccel.service
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%ldconfig_scriptlets libs
%files libs
%{_kf5_libdir}/libKF5GlobalAccel.so.*
@ -105,6 +104,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Thu Jun 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-2
- cleanup, use %%make_build %%ldconfig_scriptlets
* Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-1
- 5.47.0

Loading…
Cancel
Save