Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e98ab5c6e9
commit
1cbf267b2c
9
xz.spec
9
xz.spec
@ -4,7 +4,7 @@
|
||||
Summary: LZMA compression utilities
|
||||
Name: xz
|
||||
Version: 5.2.3
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
|
||||
# Scripts xz{grep,diff,less,more} and symlinks (copied from gzip) are
|
||||
# GPLv2+, binaries are Public Domain (linked against LGPL getopt_long but its
|
||||
@ -107,9 +107,7 @@ install -p -m 644 %{SOURCE101} %{buildroot}%{profiledir}
|
||||
%check
|
||||
LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license %{_pkgdocdir}/COPYING*
|
||||
@ -140,6 +138,9 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
||||
%{_mandir}/man1/*lz*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.2.3-6
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Wed Sep 13 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 5.2.3.-5
|
||||
- Cleanup spec
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user