Bug 953885 - Review Request: vim-jedi - awesome Python autocompletion with VIM
Summary: Review Request: vim-jedi - awesome Python autocompletion with VIM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robert Kuska
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-19 12:22 UTC by Petr Hracek
Modified: 2016-04-18 10:16 UTC (History)
3 users (show)

Fixed In Version: vim-jedi-0.5.0-5.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-24 20:37:23 UTC
Type: ---
Embargoed:
rkuska: fedora-review+


Attachments (Terms of Use)

Description Petr Hracek 2013-04-19 12:22:29 UTC
Spec URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi.spec
SRPM URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi-7.3-1.fc18.src.rpm
Description:
jedi-vim is a VIM binding to the awesome auto completion library Jedi.

Fedora Account System Username: phracek

rpmlint was run as on spec file as on SRPM:
phracek@localhost: ~/work/jedi-vim (master *%)$ rpmlint /home/phracek/rpmbuild/SRPMS/vim-jedi-7.3-1.fc18.src.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
phracek@localhost: ~/work/jedi-vim (master *%)$ rpmlint vim-jedi.spec 
0 packages and 1 specfiles checked; 0 errors, 0 warnings.
phracek@localhost: ~/work/jedi-vim (master *%)$

Comment 1 Robert Kuska 2013-04-22 06:57:06 UTC
- According [1] you should avoid using Epoch
- You are missing BuildArch


[1] https://fedoraproject.org/wiki/Packaging:Guidelines#Use_of_Epochs

Comment 3 Petr Hracek 2013-04-25 07:41:00 UTC
Spec URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi.spec
SRPM URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi-0.5.0-2.fc18.src.rpm

Correction:
- Files are stored in vimfiles directory
- Requires: vim-common
- post and postun sections
- Corrected version which is the same as on git.

phracek@kiasportyw: ~/work/jedi-vim (master %)$ rpmlint /home/phracek/rpmbuild/SRPMS/vim-jedi-0.5.0-2.fc18.src.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
phracek@kiasportyw: ~/work/jedi-vim (master %)$

Comment 4 Petr Hracek 2013-04-25 07:44:46 UTC
Spec URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi.spec
SRPM URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi-0.5.0-2.fc18.src.rpm

Correction:
- Files are stored in vimfiles directory
- Requires: vim-common
- post and postun sections
- Corrected version which is the same as on git.

phracek@kiasportyw: ~/work/jedi-vim (master %)$ rpmlint /home/phracek/rpmbuild/SRPMS/vim-jedi-0.5.0-2.fc18.src.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
phracek@kiasportyw: ~/work/jedi-vim (master %)$

Comment 5 Robert Kuska 2013-04-25 11:03:27 UTC
Few things to improve

- I found out better SourceURL [1], 0.5.0 is better than master IMO
- You are missing upstream docs (README.rst, LICENSE.txt, AUTHORS.txt) in files section
- Post and postun section are not needed since there are no txt file to generate tags from for vim-jedi
- IMO you should delete Buildroot, Clean and rm -rf $RPM_BUILD_ROOT if you are not packaging for EPEL they are not needed in Fedora (more info [2]) 
- There is unused command pwd in install section

[1] https://github.com/davidhalter/jedi-vim/tarball/0.5.0
[2] https://fedoraproject.org/wiki/How_to_create_an_RPM_package

Comment 6 Petr Hracek 2013-04-25 12:33:26 UTC
Spec URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi.spec
SRPM URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi-0.5.0-3.fc18.src.rpm

Correction were corrected and changelog were updated as well.

phracek@kiasportyw: ~/work/jedi-vim (master %)$ rpmlint vim-jedi.spec 
0 packages and 1 specfiles checked; 0 errors, 0 warnings.
phracek@kiasportyw: ~/work/jedi-vim (master %)$ rpmlint /home/phracek/rpmbuild/SRPMS/vim-jedi-0.5.0-3.fc18.src.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
phracek@kiasportyw: ~/work/jedi-vim (master %)$

Comment 8 Robert Kuska 2013-05-07 08:49:31 UTC
- you forgot to delete BuildRoot:
- also please unify macro using, in install section use %{buildroot}%{vimfiles_root} instead of $RPM_BUILD_ROOT/%{vimfiles_root}

Comment 9 Petr Hracek 2013-05-07 10:12:46 UTC
Macro's are unify.
BuildRoot field is deleted

Spec URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi.spec
SRPM URL: http://phracek.fedorapeople.org/vim-jedi/vim-jedi-0.5.0-5.fc18.src.rpm

Comment 10 Robert Kuska 2013-05-09 05:29:57 UTC
Looks good now.


Approving.

Comment 11 Petr Hracek 2013-05-09 07:25:20 UTC
New Package SCM Request
=======================
Package Name: vim-jedi
Short Description: Python autocompletion plugin for VIM
Owners: phracek
Branches: f19

Comment 12 Gwyn Ciesla 2013-05-09 11:06:04 UTC
Git done (by process-git-requests).

Comment 13 Petr Hracek 2013-05-09 12:40:14 UTC
scm-commit (http://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130506/1016210.html) -> MODIFIED

Comment 14 Fedora Update System 2013-05-09 12:45:38 UTC
vim-jedi-0.5.0-5.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/vim-jedi-0.5.0-5.fc19

Comment 15 Gwyn Ciesla 2013-05-09 13:40:43 UTC
Clearing flag.

Comment 16 Fedora Update System 2013-05-09 17:55:03 UTC
vim-jedi-0.5.0-5.fc19 has been pushed to the Fedora 19 testing repository.

Comment 17 Fedora Update System 2013-05-24 20:37:23 UTC
vim-jedi-0.5.0-5.fc19 has been pushed to the Fedora 19 stable repository.


Note You need to log in before you can comment on or make changes to this bug.