- helped Petr to strip libs.
This commit is contained in:
parent
bf37468f3b
commit
d6edcbcf5e
@ -97,10 +97,7 @@ for header in curses.h unctrl.h eti.h form.h menu.h panel.h term.h
|
||||
do ln -sf ncurses/${header} ${RPM_BUILD_ROOT}%{_includedir}/${header}
|
||||
done
|
||||
|
||||
for sofile in form formw menu menuw panel panelw curses cursesw
|
||||
do
|
||||
strip --strip-unneeded lib${sofile}.so.%{version} -o ${RPM_BUILD_ROOT}%{_libdir}/lib${sofile}.so.%{version}
|
||||
done
|
||||
find ${RPM_BUILD_ROOT}%{_libdir} | grep -e "so.%{version}$" | xargs strip --strip-unneeded
|
||||
|
||||
ln -sf libncurses.a ${RPM_BUILD_ROOT}%{_libdir}/libcurses.a
|
||||
ln -sf libncursesw.a ${RPM_BUILD_ROOT}%{_libdir}/libcursesw.a
|
||||
@ -161,6 +158,9 @@ rm -Rf ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%changelog
|
||||
* Thu Dec 22 2005 Jindrich Novy <jnovy@redhat.com> 5.5-9
|
||||
- helped Petr to strip libs.
|
||||
|
||||
* Thu Dec 22 2005 Petr Raszyk <praszyk@redhat.com> 5.5-8
|
||||
- Strip *.so libs.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user