Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 18:04:14 +01:00
parent 5c20797682
commit 4359274096
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -3,7 +3,7 @@
Name: libmtp
Version: 1.1.14
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A software library for MTP media players
URL: http://libmtp.sourceforge.net/
@ -86,8 +86,7 @@ touch -r configure.ac \
# Get rid of -rpath
chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING
@ -108,6 +107,9 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp*
%{_libdir}/pkgconfig/libmtp.pc
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.14-2
- Switch to %%ldconfig_scriptlets
* Mon Oct 09 2017 Bastien Nocera <bnocera@redhat.com> - 1.1.14-1
+ libmtp-1.1.14-1
- Update to 1.1.14