Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-31 17:26:28 +01:00
parent 204cbbf828
commit dceeb6b502
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -5,7 +5,7 @@
Name: libgphoto2 Name: libgphoto2
Version: 2.5.16 Version: 2.5.16
Release: 1%{?dist} Release: 2%{?dist}
Summary: Library for accessing digital cameras Summary: Library for accessing digital cameras
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2 # GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
License: GPLv2+ and GPLv2 License: GPLv2+ and GPLv2
@ -115,8 +115,7 @@ mv %{buildroot}%{_pkgdocdir}/* __doc
rm -rf %{buildroot}%{_pkgdocdir} rm -rf %{buildroot}%{_pkgdocdir}
rm -rf %{buildroot}%{_datadir}/libgphoto2_port/*/vcamera/ rm -rf %{buildroot}%{_datadir}/libgphoto2_port/*/vcamera/
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
@ -146,6 +145,9 @@ rm -rf %{buildroot}%{_datadir}/libgphoto2_port/*/vcamera/
%{_mandir}/man3/%{name}_port.3* %{_mandir}/man3/%{name}_port.3*
%changelog %changelog
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.16-2
- Switch to %%ldconfig_scriptlets
* Wed Nov 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.16-1 * Wed Nov 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.16-1
- Update to 2.5.16 - Update to 2.5.16