Bug 605853

Summary: Review Request: python-snpp - Simple Network Paging Protocol
Product: [Fedora] Fedora Reporter: Nathaniel McCallum <nathaniel>
Component: Package ReviewAssignee: Thomas Spura <tomspur>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fedora-package-review, notting, supercyper1, tomspur
Target Milestone: ---Flags: tomspur: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-03 16:02:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nathaniel McCallum 2010-06-18 23:20:52 UTC
Spec URL: http://nathaniel.themccallums.org/rpms/python-snpp.spec
SRPM URL: http://nathaniel.themccallums.org/rpms/python-snpp-1.1.2-1.fc13.src.rpm
Description: Libraries implementing RFC 1861 - Simple Network Paging Protocol

Comment 1 Thomas Spura 2010-06-19 12:21:31 UTC
Review:

Good:
- name ok
- %build ok
- %install ok
- macros everywhere
- no libs/*.la
- license ok (according to the headers, so COPYING file, see needswork)
- noarch ok
- rpmlint ok
$ rpmlint ./python-snpp-1.1.2-1.fc13.src.rpm noarch/python-snpp-1.1.2-1.fc13.noarch.rpm 
2 packages and 0 specfiles checked; 0 errors, 0 warnings.
- sources match upstream: bab9732f7ddf3af54fb5262b6dae35da

Needswork:
- missing BR python-setuptools
- query upstream to include a proper COPYING file with the license
- summary unnecessary to long:
  "Simple Network Paging Protocol" would be enought, the rest is in description anyway
- group wrong: You say this are 'libraries' -> Development/Libraries?
- It would be better, if you could write in %files:
%{python_sitelib}/Pager.py*
%{python_sitelib}/snpplib.py*
%{python_sitelib}/python_snpp*.egg-info

  So you know, when building the egg fails (e.g. I still wonder, why there is a already an egg-info in the archive...)

Comment 2 Chen Lei 2010-06-19 14:40:19 UTC
(In reply to comment #1)
>   So you know, when building the egg fails (e.g. I still wonder, why there is a
> already an egg-info in the archive...)    

FYI, those prebuild egg-info can be deleted in %prep, setuptools will regenerate it in %install.

Comment 3 Thomas Spura 2010-06-19 15:00:40 UTC
(In reply to comment #2)
> (In reply to comment #1)
> >   So you know, when building the egg fails (e.g. I still wonder, why there is a
> > already an egg-info in the archive...)    
> 
> FYI, those prebuild egg-info can be deleted in %prep, setuptools will
> regenerate it in %install.    

Yup, if I were upstream I wouldn't include it... I still don't see the reason for including it...

Using a more verbose %files section for verifying the egg building is very common in fedora anyway, so this does not depend on deleting this egg-info and rebuilding with setuptools.

Comment 4 Nathaniel McCallum 2010-06-19 16:51:23 UTC
I've fixed all the issues mentioned above.

http://nathaniel.themccallums.org/rpms/python-snpp.spec
http://nathaniel.themccallums.org/rpms/python-snpp-1.1.2-2.fc13.src.rpm

Comment 5 Thomas Spura 2010-06-19 17:05:34 UTC
Last thing to do:
koji build sucessfull: http://koji.fedoraproject.org/koji/taskinfo?taskID=2259281

################################################################################

APPROVED

Comment 6 Nathaniel McCallum 2010-06-19 18:57:01 UTC
New Package CVS Request
=======================
Package Name: python-snpp
Short Description: Simple Network Paging Protocol
Owners: npmccallum
Branches: F-12 F-13
InitialCC:

Comment 7 Kevin Fenzi 2010-06-21 02:31:04 UTC
CVS done (by process-cvs-requests.py).