.spec cleanup: use %make_build %ldconfig_scriptlets, cleaner %find_lang

epel9
Rex Dieter 7 years ago
parent 97bc6e03bf
commit 659fe2e2ff

@ -10,7 +10,7 @@
Name: kf5-%{framework}
Version: 5.44.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 module for KNotify configuration
License: LGPLv2+
@ -73,12 +73,13 @@ pushd %{_target_platform}
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang knotifyconfig5_qt --with-qt --all-name
%find_lang %{name} --all-name
%check
@ -91,10 +92,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files -f knotifyconfig5_qt.lang
%files -f %{name}.lang
%doc README.md
%license COPYING.LIB
%{_kf5_libdir}/libKF5NotifyConfig.so.*
@ -108,6 +108,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
%changelog
* Sat Mar 03 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.44.0-2
- .spec cleanup: use %%make_build %%ldconfig_scriptlets, cleaner %%find_lang
* Sat Mar 03 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.44.0-1
- 5.44.0

Loading…
Cancel
Save