use %ldconfig_scriptlets %make_build

This commit is contained in:
Rex Dieter 2018-03-23 22:57:39 -05:00
parent b2341c3488
commit ffbf324c60

View File

@ -12,7 +12,7 @@
Name: kf5-%{framework}
Summary: A Tier 2 KDE Framework for extracting file metadata
Version: 5.44.0
Release: 2%{?dist}
Release: 3%{?dist}
# # KDE e.V. may determine that future LGPL versions are accepted
License: LGPLv2 or LGPLv3
@ -75,7 +75,7 @@ pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
%install
@ -86,13 +86,14 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
mkdir -p %{buildroot}%{_kf5_plugindir}/kfilemetadata/writers/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files -f %{name}.lang
%license COPYING.LGPL*
%{_sysconfdir}/xdg/%{framework}*
%{_kf5_libdir}/libKF5FileMetaData.so.*
# consider putting these into some subpkg ?
%dir %{_kf5_plugindir}/kfilemetadata/
%{_kf5_plugindir}/kfilemetadata/kfilemetadata_*.so
%dir %{_kf5_plugindir}/kfilemetadata/writers/
@ -107,6 +108,9 @@ mkdir -p %{buildroot}%{_kf5_plugindir}/kfilemetadata/writers/
%changelog
* Fri Mar 23 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.44.0-3
- use %%ldconfig_scriptlets %%make_build
* Fri Mar 23 2018 Marek Kasik <mkasik@redhat.com> - 5.44.0-2
- Rebuild for poppler-0.63.0