Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
30c1fcba5a
commit
672b0ed974
@ -5,7 +5,7 @@
|
||||
|
||||
Name: lib%{libname}
|
||||
Version: 0.20
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Library for easy processing of keyboard entry from terminal-based programs
|
||||
|
||||
License: MIT
|
||||
@ -54,8 +54,7 @@ rm -vf %{buildroot}%{_libdir}/*.{a,la}
|
||||
%check
|
||||
CFLAGS="%{__global_cflags} -D_XOPEN_SOURCE" LDFLAGS="%{__global_ldflags}" make test VERBOSE=1
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
@ -69,6 +68,9 @@ CFLAGS="%{__global_cflags} -D_XOPEN_SOURCE" LDFLAGS="%{__global_ldflags}" make t
|
||||
%{_mandir}/man7/%{libname}.7*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.20-2
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Wed Nov 08 2017 Andreas Schneider <asn@redhat.com> - 0.20-1
|
||||
- Update to version 0.20
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user