forked from pool/fcitx
Accepting request 243700 from home:Andreas_Schwab:Factory
- Build with RPM_OPT_FLAGS - Don't strip binaries OBS-URL: https://build.opensuse.org/request/show/243700 OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=100
This commit is contained in:
parent
c6cc633d61
commit
e90601feee
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 5 16:22:59 UTC 2014 - schwab@suse.de
|
||||
|
||||
- Build with RPM_OPT_FLAGS
|
||||
- Don't strip binaries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 7 16:41:30 UTC 2014 - i@marguerite.su
|
||||
|
||||
|
11
fcitx.spec
11
fcitx.spec
@ -397,6 +397,9 @@ cd build
|
||||
|
||||
# fix dlopen-ed library name
|
||||
cmake .. \
|
||||
-DCMAKE_C_FLAGS="$RPM_OPT_FLAGS" \
|
||||
-DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS" \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=On \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DOPENCC_LIBRARY_FILENAME=libopencc.so.1 \
|
||||
-DENCHANT_LIBRARY_FILENAME=libenchant.so.1 \
|
||||
@ -526,14 +529,6 @@ fdupes -n -q -r %{buildroot}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# strip unnessary libraries
|
||||
%{__strip} %{buildroot}%{_libdir}/%{name}/*.so
|
||||
%{__strip} %{buildroot}%{_libdir}/libfcitx*.so.*
|
||||
%{__strip} %{buildroot}%{_libdir}/gtk-2.0/*/immodules/im-%{name}.so
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%{__strip} %{buildroot}%{_libdir}/gtk-3.0/*/immodules/im-%{name}.so
|
||||
%endif
|
||||
|
||||
%post gtk2
|
||||
%gtk2_immodule_post
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user