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
|
Name: ncurses
|
||||||
Version: 5.5
|
Version: 5.5
|
||||||
%define includedirw %{_includedir}/ncursesw
|
%define includedirw %{_includedir}/ncursesw
|
||||||
Release: 3
|
Release: 4
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://dickey.his.com/ncurses/ncurses.html
|
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}
|
do ln -sf ncurses/${header} ${RPM_BUILD_ROOT}%{_includedir}/${header}
|
||||||
done
|
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 libncurses.a ${RPM_BUILD_ROOT}%{_libdir}/libcurses.a
|
||||||
ln -sf libncursesw.a ${RPM_BUILD_ROOT}%{_libdir}/libcursesw.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}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 21 2005 Petr Raszyk <praszyk@redhat.com> 5.5-3
|
||||||
- Rebuild.
|
- Rebuild.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user