Strip *.so libs.
This commit is contained in:
parent
d7104f9155
commit
cf53782909
@ -2,7 +2,7 @@ Summary: A CRT screen handling and optimization package.
|
||||
Name: ncurses
|
||||
Version: 5.5
|
||||
%define includedirw %{_includedir}/ncursesw
|
||||
Release: 3
|
||||
Release: 4
|
||||
License: distributable
|
||||
Group: System Environment/Libraries
|
||||
URL: http://dickey.his.com/ncurses/ncurses.html
|
||||
@ -97,6 +97,10 @@ 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
|
||||
|
||||
|
||||
strip --strip-unneeded libncurses.so.%{version}
|
||||
strip --strip-unneeded libncursesw.so.%{version}
|
||||
|
||||
ln -sf libncurses.a ${RPM_BUILD_ROOT}%{_libdir}/libcurses.a
|
||||
ln -sf libncursesw.a ${RPM_BUILD_ROOT}%{_libdir}/libcursesw.a
|
||||
|
||||
@ -156,6 +160,9 @@ rm -Rf ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%changelog
|
||||
* Thu Dec 22 2005 Petr Raszyk <praszyk@redhat.com> 5.5-4
|
||||
- Strip *.so libs.
|
||||
|
||||
* Wed Dec 21 2005 Petr Raszyk <praszyk@redhat.com> 5.5-3
|
||||
- Rebuild.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user