Use new ldconfig_scriptlets macro in spec

This commit is contained in:
Vojtech Trefny 2018-06-29 13:00:30 +02:00
parent edfd5709fa
commit 70d979fd64

View File

@ -18,7 +18,7 @@
Name: libbytesize
Version: 1.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A library for working with sizes in bytes
License: LGPLv2+
URL: https://github.com/storaged-project/libbytesize
@ -90,8 +90,7 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%find_lang %{name}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files -f %{name}.lang
@ -123,6 +122,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%endif
%changelog
* Fri Jun 29 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.3-3
- Use new ldconfig_scriptlets macro in spec
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3-2
- Rebuilt for Python 3.7