SPEC: http://liangsuilong.fedorapeople.org/fcitx/fcitx-ui-light.spec SRPM: http://liangsuilong.fedorapeople.org/fcitx/fcitx-ui-light-0.1.3-1.fc16.src.rpm Decription: Light UI is a light-weight user interface for fcitx. Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=3864049
Review:- + koji scratch build for f17 ->http://koji.fedoraproject.org/koji/taskinfo?taskID=4024907 + rpmlint on rpms gave fcitx-ui-light.src:5: W: mixed-use-of-spaces-and-tabs (spaces: line 1, tab: line 5) fcitx-ui-light.src: W: invalid-url Source0: http://fcitx.googlecode.com/files/fcitx-ui-light-0.1.3.tar.bz2 HTTP Error 404: Not Found 2 packages and 0 specfiles checked; 0 errors, 2 warnings. + Source verified with upstream as (sha1sum) 016c980866619019792d775be1fa0c9ca5278994 fcitx-ui-light-0.1.3.tar.bz2 016c980866619019792d775be1fa0c9ca5278994 ../SOURCES/fcitx-ui-light-0.1.3.tar.bz2 + Package : fcitx-ui-light-0.1.3-1.fc17.x86_64 Provides: fcitx-light-ui.so()(64bit) Requires: libX11.so.6()(64bit) libXft.so.2()(64bit) libXpm.so.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libfontconfig.so.1()(64bit) rtld(GNU_HASH) Suggestions:- 1) Fix the rpmlint messages. a) mixed-use-of-spaces-and-tabs message can be fixed using command sed -i 's|\t| |g' fcitx-ui-light.spec 2) If package is only for Fedora then no need to add a) %clean section (see http://fedoraproject.org/wiki/Packaging:Guidelines#.25clean) b) removal of buildroot in %install (remove line rm -rf $RPM_BUILD_ROOT) c) remove line %defattr(-,root,root,-) 3) please don't use commands in macro that is change %{__mkdir} to "mkdir" 4) package should add Requires: fcitx, fcitx-data 5) Use following commands in %build %cmake .. make VERBOSE=1 %{?_smp_mflags} 6) %install should preserve timestamp using make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" 7) Add COPYING AUTHORS to %doc
Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=4072856 SPEC: http://liangsuilong.fedorapeople.org/fcitx/fcitx-ui-light.spec SRPM: http://liangsuilong.fedorapeople.org/fcitx/fcitx-ui-light-0.1.3-2.fc16.src.rpm (In reply to comment #1) > Review:- > + koji scratch build for f17 > ->http://koji.fedoraproject.org/koji/taskinfo?taskID=4024907 > > + rpmlint on rpms gave > fcitx-ui-light.src:5: W: mixed-use-of-spaces-and-tabs (spaces: line 1, tab: > line 5) > fcitx-ui-light.src: W: invalid-url Source0: > http://fcitx.googlecode.com/files/fcitx-ui-light-0.1.3.tar.bz2 HTTP Error 404: > Not Found > 2 packages and 0 specfiles checked; 0 errors, 2 warnings. > > + Source verified with upstream as (sha1sum) > 016c980866619019792d775be1fa0c9ca5278994 fcitx-ui-light-0.1.3.tar.bz2 > 016c980866619019792d775be1fa0c9ca5278994 > ../SOURCES/fcitx-ui-light-0.1.3.tar.bz2 > > + Package : fcitx-ui-light-0.1.3-1.fc17.x86_64 > Provides: fcitx-light-ui.so()(64bit) > Requires: libX11.so.6()(64bit) libXft.so.2()(64bit) libXpm.so.4()(64bit) > libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libfontconfig.so.1()(64bit) > rtld(GNU_HASH) > > Suggestions:- > 1) Fix the rpmlint messages. > a) mixed-use-of-spaces-and-tabs message can be fixed using command > sed -i 's|\t| |g' fcitx-ui-light.spec > Done > 2) If package is only for Fedora then no need to add > a) %clean section (see > http://fedoraproject.org/wiki/Packaging:Guidelines#.25clean) > b) removal of buildroot in %install (remove line rm -rf $RPM_BUILD_ROOT) > c) remove line %defattr(-,root,root,-) > The pacakge will support el6. > 3) please don't use commands in macro that is change %{__mkdir} to "mkdir" > Done > 4) package should add Requires: fcitx, fcitx-data > Done > 5) Use following commands in %build > %cmake .. > make VERBOSE=1 %{?_smp_mflags} > Done > 6) %install should preserve timestamp using > make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" > Done > 7) Add COPYING AUTHORS to %doc Done
Changes looks good now except package should not require for fcitx-data as I see nothing is getting installed in /usr/share/fcitx/inputmethod My suggestion to ask you to Requires: fcitx-data was based on old fcitx but as you modified now fcitx, fcitx-data is not needed. APPROVED.
New Package SCM Request ======================= Package Name: fcitx-ui-light Short Description: Light UI for Fcitx Owners: liangsuilong Branches: f15 f16 f17 el6 InitialCC: i18n-team
Git done (by process-git-requests).
fcitx-ui-light-0.1.3-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/fcitx-ui-light-0.1.3-2.fc16
fcitx-ui-light-0.1.3-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fcitx-ui-light-0.1.3-2.fc17
fcitx-ui-light-0.1.3-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/fcitx-ui-light-0.1.3-2.fc15
fcitx-ui-light-0.1.3-2.fc17 has been pushed to the Fedora 17 testing repository.
fcitx-ui-light-0.1.3-2.fc16 has been pushed to the Fedora 16 stable repository.
fcitx-ui-light-0.1.3-2.fc15 has been pushed to the Fedora 15 stable repository.
fcitx-ui-light-0.1.3-2.fc17 has been pushed to the Fedora 17 stable repository.