!5 enable debuginfo for fix strip
From: @HelloWorld_lvcongqing Reviewed-by: @leeffo Signed-off-by: @leeffo
This commit is contained in:
commit
a630b7df01
@ -1,14 +1,14 @@
|
|||||||
# TODO: fixes scons to generate debug information
|
# TODO: fixes scons to generate debug information
|
||||||
%global debug_package %{nil}
|
#%%global debug_package %{nil}
|
||||||
|
|
||||||
%define _xinputconf %{_sysconfdir}/X11/xinit/xinput.d/xsunpinyin.conf
|
%define _xinputconf %{_sysconfdir}/X11/xinit/xinput.d/xsunpinyin.conf
|
||||||
%define gitdate 20190805
|
%define gitdate 20190805
|
||||||
|
|
||||||
Name: sunpinyin
|
Name: sunpinyin
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A statistical language model based Chinese input method engine
|
Summary: A statistical language model based Chinese input method engine
|
||||||
License: LGPLv2 or CDDL or CC-BY-SA
|
License: LGPL-2.0-only or CDDL-1.0 or CC-BY-SA-3.0
|
||||||
Obsoletes: %{name}-data-le
|
Obsoletes: %{name}-data-le
|
||||||
Obsoletes: %{name}-data-be
|
Obsoletes: %{name}-data-be
|
||||||
URL: http://code.google.com/p/sunpinyin/
|
URL: http://code.google.com/p/sunpinyin/
|
||||||
@ -47,6 +47,10 @@ tar xvf lm_sc.3gm.arpa-20140820.tar.bz2
|
|||||||
tar xvf dict.utf8-20131214.tar.bz2
|
tar xvf dict.utf8-20131214.tar.bz2
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# fix strip
|
||||||
|
sed -i 's|-Wall|-Wall -s -g|' SConstruct SConstruct.python3 SConstruct.scons
|
||||||
|
sed -i 's|-std=c++11|-std=c++11 -s -g|' SConstruct SConstruct.python3 SConstruct.scons
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# export CFLAGS, CXXFLAGS, LDFLAGS, ...
|
# export CFLAGS, CXXFLAGS, LDFLAGS, ...
|
||||||
%configure || :
|
%configure || :
|
||||||
@ -85,5 +89,9 @@ install -m0644 AUTHORS TODO %{buildroot}%{_docdir}/%{name}
|
|||||||
%{_includedir}/sunpinyin*
|
%{_includedir}/sunpinyin*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 20 2023 liweiganga <liweiganga@uniontech.com> - 3.0.0-2
|
||||||
|
- feat: fix strip and enable debug
|
||||||
|
- feat: License compliance rectification
|
||||||
|
|
||||||
* Tue Dec 22 2020 weidong <weidong@uniontech.com> - 3.0.0-1
|
* Tue Dec 22 2020 weidong <weidong@uniontech.com> - 3.0.0-1
|
||||||
- Initial Package
|
- Initial Package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user