<html>
    <head>
      <base href="https://bugzilla.redhat.com/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - Review Request: kcm-fcitx - KDE Config Module for Fcitx"
   href="https://bugzilla.redhat.com/show_bug.cgi?id=801073#c7">Comment # 7</a> 
              from <span class="vcard "><a class="email" href="mailto:rdieter&#64;math.unl.edu" title="Rex Dieter &lt;rdieter&#64;math.unl.edu&gt;"> <span class="fn">Rex Dieter</span></a>
</span></b>
        <pre>Several suggestions:

1.  replace
cat &lt;&lt; EOF &gt; %{name}.lang 
%lang(zh) /usr/share/locale/zh_TW/LC_MESSAGES/kcm_fcitx.mo
%lang(zh) /usr/share/locale/zh_CN/LC_MESSAGES/kcm_fcitx.mo
EOF

with
%find_lang %{name}


2.  in %build

you have
pushd build

but no matching
popd


3.  (cosmetics, but shorter) in %install, replace
pushd build
make install DESTDIR=$RPM_BUILD_ROOT
popd

with
make install  DESTDIR=$RPM_BUILD_ROOT -C build</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>