use macro for ldconfig scriptlets
This commit is contained in:
parent
1ea07986a4
commit
122477c66f
12
ncurses.spec
12
ncurses.spec
@ -237,17 +237,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*_g.pc
|
||||
|
||||
bzip2 NEWS
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets c++-libs
|
||||
|
||||
%post c++-libs -p /sbin/ldconfig
|
||||
|
||||
%postun c++-libs -p /sbin/ldconfig
|
||||
|
||||
%post compat-libs -p /sbin/ldconfig
|
||||
|
||||
%postun compat-libs -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets compat-libs
|
||||
|
||||
%files
|
||||
%doc ANNOUNCE AUTHORS NEWS.bz2 README TO-DO
|
||||
|
Loading…
Reference in New Issue
Block a user