Bug 1099473 - Review Request: python-django-angular - Classes and utility functions to integrate AngularJS with Django
Summary: Review Request: python-django-angular - Classes and utility functions to inte...
Keywords:
Status: CLOSED DUPLICATE of bug 1182533
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1041968
TreeView+ depends on / blocked
 
Reported: 2014-05-20 12:02 UTC by Matthias Runge
Modified: 2015-01-20 09:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-20 09:52:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Runge 2014-05-20 12:02:20 UTC
Spec URL: http://www.matthias-runge.de/fedora/python-django-angular.spec
SRPM URL: http://www.matthias-runge.de/fedora/python-django-angular-0.7.1-1.fc20.src.rpm
Description: Django-Angular is a collection of utilities, which aim to ease the 
integration of Django with AngularJS by providing reusable components.

Fedora Account System Username: mrunge

scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6866944

Comment 1 Jeff Schroeder 2014-05-25 19:20:28 UTC
Note that I'm not an official package reviewer yet, so this is only to help a real reviewer.


Questions / Suggestions
=======================

1. This is a django reusable app, shouldn't it "Require: Django"?
2. In %install, you remove the egg-info directory, but it is still in the package:

[jeff@omniscience SPECS] (master)$ rpm -qlp ../RPMS/python-django-angular-0.7.1-1.fc20.noarch.rpm | grep \.egg-info
/usr/lib/python2.7/site-packages/django_angular-0.7.1-py2.7.egg-info
/usr/lib/python2.7/site-packages/django_angular-0.7.1-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/django_angular-0.7.1-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/django_angular-0.7.1-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/django_angular-0.7.1-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/django_angular-0.7.1-py2.7.egg-info/top_level.txt

Also, fedora packaging python policy is explicit on keeping the egg-info directory:
http://fedoraproject.org/wiki/Packaging:Python#Files_to_include

You then include it explicitly in %files, why?


RPMlint output
==============

Looks good to me

[jeff@omniscience SPECS] (master)$ rpmlint python-django-angular.spec ../SRPMS/python-django-angular-0.7.1-1.fc20.src.rpm ../RPMS/python-django-angular-0.7.1-1.fc20.noarch.rpm
2 packages and 1 specfiles checked; 0 errors, 0 warnings.

Other than those 2 small things, this looks good to me.

Comment 2 Matthias Runge 2014-05-26 08:49:44 UTC
Thank you for your quick review. You're right, this depends on Django.

upstream distributed eggs have to be removed before build process, to prevent those get re-distributed.

Eggs generated during build process (as in this case), are required to be included in the final rpm. 
http://fedoraproject.org/wiki/Packaging:Python#Files_to_include

SPEC: http://www.matthias-runge.de/fedora/python-django-angular.spec
SRPM: http://www.matthias-runge.de/fedora/python-django-angular-0.7.1-2.fc20.src.rpm

Comment 3 Jeff Schroeder 2014-05-27 00:38:03 UTC
Looks good to me, but unfortunately, I can't do much from here.

Comment 4 Haïkel Guémar 2014-09-07 10:03:40 UTC
Is it required for Horizon ? It also needs to be updated to 0.7.5

Comment 5 Matthias Runge 2015-01-20 09:52:22 UTC

*** This bug has been marked as a duplicate of bug 1182533 ***


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