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