<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: fcitx-cloudpinyin - Cloudpinyin module for fcitx"
   href="https://bugzilla.redhat.com/show_bug.cgi?id=801058#c3">Comment # 3</a> 
              from <span class="vcard "><a class="email" href="mailto:liangsuilong&#64;gmail.com" title="Liang Suilong &lt;liangsuilong&#64;gmail.com&gt;"> <span class="fn">Liang Suilong</span></a>
</span></b>
        <pre>SPEC: <a href="http://liangsuilong.fedorapeople.org/fcitx/fcitx-cloudpinyin.spec">http://liangsuilong.fedorapeople.org/fcitx/fcitx-cloudpinyin.spec</a>
SRPM:
<a href="http://liangsuilong.fedorapeople.org/fcitx/fcitx-cloudpinyin-0.2.1-1.fc16.src.rpm">http://liangsuilong.fedorapeople.org/fcitx/fcitx-cloudpinyin-0.2.1-1.fc16.src.rpm</a>

Koji: <a href="http://koji.fedoraproject.org/koji/taskinfo?taskID=4091875">http://koji.fedoraproject.org/koji/taskinfo?taskID=4091875</a>


(In reply to <a href="show_bug.cgi?id=801058#c1">comment #1</a>)
<span class="quote">&gt; Review:-
&gt; + koji scratch build for f17 -&gt;
&gt; <a href="http://koji.fedoraproject.org/koji/taskinfo?taskID=4024897">http://koji.fedoraproject.org/koji/taskinfo?taskID=4024897</a>
&gt; 
&gt; + rpmlint on rpms gave
&gt; fcitx-cloudpinyin.src: W: spelling-error %description -l en_US Cloulpinyin
&gt; -&gt; Cloudiness
&gt; fcitx-cloudpinyin.src:5: W: mixed-use-of-spaces-and-tabs (spaces: line 1,
&gt; tab: line 5)
&gt; fcitx-cloudpinyin.src: W: invalid-url Source0:
&gt; <a href="http://fcitx.googlecode.com/files/fcitx-cloudpinyin-0.2.0.tar.bz2">http://fcitx.googlecode.com/files/fcitx-cloudpinyin-0.2.0.tar.bz2</a> HTTP Error
&gt; 404: Not Found
&gt; fcitx-cloudpinyin.x86_64: W: spelling-error %description -l en_US
&gt; Cloulpinyin -&gt; Cloudiness
&gt; 2 packages and 0 specfiles checked; 0 errors, 4 warnings.
&gt; 
&gt; + Source verified with upstream as (sha1sum)
&gt; d9337b344fbefde61689e0a5aa9f54530a6b6c71  fcitx-cloudpinyin-0.2.0.tar.bz2
&gt; d9337b344fbefde61689e0a5aa9f54530a6b6c71 
&gt; ../SOURCES/fcitx-cloudpinyin-0.2.0.tar.bz2
&gt; 
&gt; + Package : fcitx-cloudpinyin-0.2.0-1.fc17.x86_64
&gt; Provides: fcitx-cloudpinyin.so()(64bit)
&gt; Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit)
&gt; libc.so.6(GLIBC_2.2.5)(64bit) libcurl.so.4()(64bit) rtld(GNU_HASH)
&gt; 
&gt; Suggestions:-
&gt; 1) Fix the rpmlint messages. 
&gt;   a) mixed-use-of-spaces-and-tabs message can be fixed using command
&gt;      sed -i 's|\t| |g' fcitx-cloudpinyin.spec
&gt;   b) description lines should be of 80 characters.</span >

Fixed.

<span class="quote">&gt; 
&gt; 2) If package is only for Fedora then no need to add
&gt;   a) %clean section (see
&gt; <a href="http://fedoraproject.org/wiki/Packaging:Guidelines#.25clean">http://fedoraproject.org/wiki/Packaging:Guidelines#.25clean</a>)
&gt;   b) removal of buildroot in %install (remove line rm -rf $RPM_BUILD_ROOT)
&gt;   c) remove line %defattr(-,root,root,-)
&gt; </span >

The packages will support EL-6
<span class="quote">&gt; 3) please don't use commands in macro that is change %{__mkdir} to &quot;mkdir&quot;
&gt; </span >

Fixed

<span class="quote">&gt; 4) package should add Requires: fcitx, fcitx-data
&gt; </span >

Fixed, add fcitx only

<span class="quote">&gt; 5) Use following commands in %build
&gt; %cmake ..
&gt; make VERBOSE=1 %{?_smp_mflags}
&gt; </span >
Fixed

<span class="quote">&gt; 6) %install should preserve timestamp using 
&gt;    make install DESTDIR=$RPM_BUILD_ROOT INSTALL=&quot;install -p&quot;</span >
&gt;

Fixed

<span class="quote">&gt; 7) Add COPYING to %doc</span >

Fixed</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>