Use ldconfig scriptlets

This commit is contained in:
Adam Jackson 2018-06-29 16:55:39 -04:00
parent 8fb1f5cf0a
commit b7b97959bb

View File

@ -12,7 +12,7 @@
Name: i2c-tools
Version: 4.0
Release: 6%{?dist}
Release: 7%{?dist}
Summary: A heterogeneous set of I2C tools for Linux
License: GPLv2+
URL: https://i2c.wiki.kernel.org/index.php/I2C_Tools
@ -162,8 +162,8 @@ if [ "$1" = 1 ] ; then
fi
exit 0
%post -n libi2c -p /sbin/ldconfig
%postun -n libi2c -p /sbin/ldconfig
%ldconfig_post -n libi2c
%ldconfig_postun -n libi2c
%files
@ -212,6 +212,9 @@ exit 0
%changelog
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 4.0-7
- Use ldconfig scriptlets
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.0-6
- Rebuilt for Python 3.7