Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-31 17:57:07 +01:00
parent 4a058bf5aa
commit 4510caa5e1
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
1 changed files with 5 additions and 3 deletions

View File

@ -18,7 +18,7 @@
Name: nbdkit
Version: 1.1.28
Release: 2%{?dist}
Release: 3%{?dist}
Summary: NBD server
License: BSD
@ -457,8 +457,7 @@ popd
%ifarch %{ocaml_native_compiler}
%post plugin-ocaml -p /sbin/ldconfig
%postun plugin-ocaml -p /sbin/ldconfig
%ldconfig_scriptlets plugin-ocaml
%endif
@ -618,6 +617,9 @@ popd
%changelog
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.28-3
- Switch to %%ldconfig_scriptlets
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 1.1.28-2
- Run a simplified test suite on all arches.