Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
5c20797682
commit
4359274096
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user