diff --git a/Makefile-gdb.patch b/Makefile-gdb.patch deleted file mode 100644 index bb5b977..0000000 --- a/Makefile-gdb.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: brise-0.35+git20140810/Makefile -=================================================================== ---- brise-0.35+git20140810.orig/Makefile -+++ brise-0.35+git20140810/Makefile -@@ -18,7 +18,7 @@ all: - @cp symbols.yaml ${DATA} - @cp preset/*.yaml ${DATA} - @cp supplement/*.yaml ${DATA} -- rime_deployer --build ${DATA} -+ gdb --eval-command='set height 0' --eval-command='run' --eval-command='bt' --eval-command='quit' --args rime_deployer --build ${DATA} - - # deprecated - essay.kct: diff --git a/brise.spec b/brise.spec index 6bd315f..a5ce535 100644 --- a/brise.spec +++ b/brise.spec @@ -24,23 +24,8 @@ License: GPL-3.0+ Group: System/I18n/Chinese Url: https://github.com/lotem/brise Source: brise-%{version}.tar.gz -Patch: Makefile-gdb.patch BuildRequires: kyotocabinet BuildRequires: librime-devel -# debug on OBS -BuildRequires: gdb -#BuildRequires: glibc-debuginfo -#BuildRequires: rime-debuginfo librime0-debuginfo -#BuildRequires: libboost_system1_53_0-debuginfo -#BuildRequires: libglog0-debuginfo -#BuildRequires: libstdc++6-debuginfo libgcc_s1-debuginfo -#BuildRequires: libboost_filesystem1_53_0-debuginfo -#BuildRequires: libboost_regex1_53_0-debuginfo -#BuildRequires: libboost_signals1_53_0-debuginfo -#BuildRequires: libboost_thread1_53_0-debuginfo -#BuildRequires: libyaml-cpp0_5-debuginfo -#BuildRequires: libkyotocabinet16-debuginfo -#BuildRequires: libicu51_2-debuginfo libz1-debuginfo BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -52,10 +37,9 @@ Brise is the input schemas collection of Rime. %prep %setup -q -%patch -p1 %build -make -j1 +make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags}