Bug 488198 - Review Request: sugar-update-control - Activity update control panel for Sugar
Summary: Review Request: sugar-update-control - Activity update control panel for Sugar
Keywords:
Status: CLOSED DUPLICATE of bug 481333
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:
TreeView+ depends on / blocked
 
Reported: 2009-03-03 06:13 UTC by Bernie Innocenti
Modified: 2009-03-04 16:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-04 16:17:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bernie Innocenti 2009-03-03 06:13:51 UTC
Spec URL: http://www.codewiz.org/pub/fedora/specs/sugar-update-control.spec
SRPM URL: http://www.codewiz.org/pub/fedora/source/sugar-update-control-0.20-1.fc10.src.rpm
Description: Control panel item for the Sugar graphical environment which locates and installs activity updates.

Comment 1 Suravee Suthikulpanit 2009-03-03 18:36:40 UTC
This is an unofficial review:

Please check the following: 

---------------
- rpmlint -iv sugar-update-control.spec 
sugar-update-control.spec:42: E: files-attr-not-set
A file or a directory entry in a %files section does not have attributes set
which may result in security issues in the resulting binary package depending
on the system where the package is built.  Add default attributes using
%defattr before it in the %files section, or use per line %attr's.

sugar-update-control.spec:44: E: files-attr-not-set
A file or a directory entry in a %files section does not have attributes set
which may result in security issues in the resulting binary package depending
on the system where the package is built.  Add default attributes using
%defattr before it in the %files section, or use per line %attr's.

sugar-update-control.spec:45: E: files-attr-not-set
A file or a directory entry in a %files section does not have attributes set
which may result in security issues in the resulting binary package depending
on the system where the package is built.  Add default attributes using
%defattr before it in the %files section, or use per line %attr's.

0 packages and 1 specfiles checked; 3 errors, 0 warnings.

---------------
- rpmlint -iv ~/rpmbuild/RPMS/noarch/sugar-update-control-0.20-1.fc10.noarch.rpm 
sugar-update-control.noarch: I: checking
sugar-update-control.noarch: E: non-executable-script /usr/lib/python2.5/site-packages/bitfrost/util/urlrange.py 0644
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.  If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.

sugar-update-control.noarch: E: non-executable-script /usr/lib/python2.5/site-packages/bitfrost/update/microformat.py 0644
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.  If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.

sugar-update-control.noarch: E: non-executable-script /usr/lib/python2.5/site-packages/bitfrost/update/actutils.py 0644
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.  If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.

sugar-update-control.noarch: E: non-executable-script /usr/lib/python2.5/site-packages/bitfrost/update/actinfo.py 0644
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.  If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.

sugar-update-control.noarch: E: incorrect-locale-subdir /usr/share/locale/pseudo/LC_MESSAGES/sugar-update-control.mo
1 packages and 0 specfiles checked; 5 errors, 0 warnings.
---------------

Please see http://fedoraproject.org/wiki/PackagingGuidelines#File_Permissions. Also, rerun "rpmlint -iv" on the "src.rpm" and "rpm" before submission. The above errors seems to be fixed by adding "%defattr(-,root,root,-)" in the file section. However, "rpmlint -iv" gives many other warnings.

- It seems like the "/usr/share/sugar" directory is own by other package. Please see http://fedoraproject.org/wiki/PackagingGuidelines#File_and_Directory_Ownership


SUGGESTIONS:
- Use %{_datadir} instead of "/usr/share"
- Please provide instruction on how to get the latest upstream package (tar.gz) for checksum comparison.
- Use "rm -rf" instead of "rm"

OKAYS:
- Lincensing (GPLv2+), license file included in the package.
- Buildroot is correct

Comment 2 Suravee Suthikulpanit 2009-03-03 18:37:44 UTC
Also check out http://fedoraproject.org/wiki/Packaging/Python

Comment 3 Steven M. Parrish 2009-03-04 16:17:50 UTC

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


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