use %make_build %ldconfig_scriptlets (#1600022)

This commit is contained in:
Rex Dieter 2018-07-11 10:48:11 -05:00
parent 2f0a646c65
commit a7378f017e

View File

@ -9,7 +9,7 @@
Name: lensfun
Version: 0.3.2
Summary: Library to rectify defects introduced by photographic lenses
Release: 15%{?dist}
Release: 16%{?dist}
License: LGPLv3 and CC-BY-SA
URL: http://lensfun.sourceforge.net/
@ -115,7 +115,8 @@ pushd %{_target_platform}
%{?!python3:-DINSTALL_HELPER_SCRIPTS:BOOL=OFF}
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
make doc -C %{_target_platform}
@ -140,8 +141,7 @@ popd
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc README.md
@ -174,6 +174,9 @@ popd
%changelog
* Wed Jul 11 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-16
- use %%make_build %%ldconfig_scriptlets (#1600022)
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.2-15
- Rebuilt for Python 3.7