Bug 840425
| Summary: | Review Request: sugar-colordeducto - learning activity to improve students skills to deducing logic and learning colors | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Danishka Navin <danishka> |
| Component: | Package Review | Assignee: | Parag AN(पराग) <panemade> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | callkalpa, notting, panemade, pbrobinson, vascom2 |
| Target Milestone: | --- | Flags: | panemade:
fedora-review+
gwync: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sugar-colordeducto-7-3.fc17 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-17 04:33:25 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
Danishka Navin
2012-07-16 11:06:25 UTC
1. Remove %defattr
[!]: MUST Each %files section contains %defattr if rpm < 4.4
Note: defattr(....) present in %files section. This is OK if packaging
for EPEL5. Otherwise not needed
2. Correct or remove Group
sugar-colordeducto.noarch: W: non-standard-group Sugar/Activities
3. Correct changelog
sugar-colordeducto.noarch: W: incoherent-version-in-changelog 30-5-1 ['5-1.fc17', '5-1']
4. Correct executable bit
sugar-colordeducto.noarch: E: non-executable-script /usr/share/sugar/activities/ColorDeducto.activity/mun.py 0644L /usr/bin/env
5. Correct end of line encoding
sugar-colordeducto.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/sugar-colordeducto-5/README.txt
And run rpmlint check for spec, srpm and all rpm files.
Vasiliy, attached new build fixed #1, #2 and #3 for #4 and #5 since i am not the upstream maintainer what should i do other than contacting him? http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto-5-2.fc17.src.rpm http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto.spec 4. If this does not affect functionality you should make chmod +x for mun.py in %prep section. 5. See here http://fedoraproject.org/wiki/Common_Rpmlint_issues#wrong-file-end-of-line-encoding And of course report it to developer. You forget correct #1. Thanks Vasiliy! fixed both issues :) attached spec and srpm, that fixed #4 and #5 http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto.spec http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto-5-3.fc17.src.rpm i do not see any error or warning at all [danishka@localhost rpmbuild]$ rpmlint -vi SPECS/sugar-colordeducto.spec SPECS/sugar-colordeducto.spec: I: checking-url http://download.sugarlabs.org/sources/honey/ColorDeducto/ColorDeducto-5.tar.bz2 (timeout 10 seconds) 0 packages and 1 specfiles checked; 0 errors, 0 warnings. [danishka@localhost rpmbuild]$ rpmlint -vi SRPMS/sugar-colordeducto-5-3.fc17.src.rpm sugar-colordeducto.src: I: checking sugar-colordeducto.src: I: checking-url http://activities.sugarlabs.org/en-US/sugar/addon/4221 (timeout 10 seconds) sugar-colordeducto.src: I: checking-url http://download.sugarlabs.org/sources/honey/ColorDeducto/ColorDeducto-5.tar.bz2 (timeout 10 seconds) 1 packages and 0 specfiles checked; 0 errors, 0 warnings. [danishka@localhost rpmbuild]$ rpmlint -vi RPMS/noarch/sugar-colordeducto-5-3.fc17.noarch.rpm sugar-colordeducto.noarch: I: checking sugar-colordeducto.noarch: I: checking-url http://activities.sugarlabs.org/en-US/sugar/addon/4221 (timeout 10 seconds) 1 packages and 0 specfiles checked; 0 errors, 0 warnings. [danishka@localhost rpmbuild]$ Run fedora-review and you see tha you forget remove %defattr(-,root,root,-) fixed the %defattr issue http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto-5-4.fc17.src.rpm http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto.spec Package Review
==============
Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated
==== Generic ====
[x]: EXTRA Rpmlint is run on all installed packages.
Note: There are rpmlint messages (see attachment).
[x]: EXTRA Spec file according to URL is the same as in SRPM.
[ ]: MUST Package is licensed with an open-source compatible license and meets
other legal requirements as defined in the legal section of Packaging
Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
least one supported primary architecture.
[ ]: MUST %build honors applicable compiler flags or justifies otherwise.
[x]: MUST All build dependencies are listed in BuildRequires, except for any
that are listed in the exceptions section of Packaging Guidelines.
[x]: MUST Buildroot is not present
Note: Unless packager wants to package for EPEL5 this is fine
[ ]: MUST Package contains no bundled libraries.
[ ]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
$RPM_BUILD_ROOT)
Note: Clean would be needed if support for EPEL is required
[ ]: MUST Sources contain only permissible code or content.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
Note: Note: defattr macros not found. They would be needed for EPEL5
[ ]: MUST Macros in Summary, %description expandable at SRPM build time.
[ ]: MUST Package contains desktop file if it is a GUI application.
[ ]: MUST Development files must be in a -devel package
[ ]: MUST Package requires other packages for directories it uses.
[ ]: MUST Package uses nothing in %doc for runtime.
[ ]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[ ]: MUST Package complies to the Packaging Guidelines
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install.
Note: rm -rf would be needed if support for EPEL5 is required
[ ]: MUST Large documentation files are in a -doc subpackage, if required.
[x]: MUST If (and only if) the source package includes the text of the
license(s) in its own file, then that file, containing the text of the
license(s) for the package is included in %doc.
[ ]: MUST License field in the package spec file matches the actual license.
Note: Checking patched sources after %prep for licenses. Licenses found:
"*No copyright* UNKNOWN", "MIT/X11 (BSD like)", "GPL (v3 or later)" For
detailed output of licensecheck see file: /home/vascom/840425-sugar-
colordeducto/licensecheck.txt
[ ]: MUST Package consistently uses macro is (instead of hard-coded directory
names).
[x]: MUST Package is named using only allowed ascii characters.
[ ]: MUST Package is named according to the Package Naming Guidelines.
[ ]: MUST Package does not generate any conflict.
Note: Package contains no Conflicts: tag(s)
[ ]: MUST Package obeys FHS, except libexecdir and /usr/target.
[ ]: MUST Package must own all directories that it creates.
[ ]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[ ]: MUST Package is not relocatable.
[ ]: MUST Requires correct, justified where necessary.
[x]: MUST Rpmlint is run on all rpms the build produces.
Note: No rpmlint messages.
[x]: MUST Sources used to build the package match the upstream source, as
provided in the spec URL.
[ ]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
%{name}.spec.
[ ]: MUST Package contains systemd file(s) if in need.
[x]: MUST File names are valid UTF-8.
[x]: SHOULD Reviewer should test that the package builds in mock.
[ ]: SHOULD If the source package does not include license text(s) as a
separate file from upstream, the packager SHOULD query upstream to
include it.
[x]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
/usr/sbin.
[ ]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
--requires).
[ ]: SHOULD Package functions as described.
[ ]: SHOULD Latest version is packaged.
[ ]: SHOULD Package does not include license text files separate from
upstream.
[!]: SHOULD SourceX / PatchY prefixed with %{name}.
Note: Source0 (ColorDeducto-5.tar.bz2)
[x]: SHOULD SourceX is a working URL.
[ ]: SHOULD Description and summary sections in the package spec file contains
translations for supported Non-English languages, if available.
[ ]: SHOULD Package should compile and build into binary rpms on all supported
architectures.
[ ]: SHOULD %check is present and all tests pass.
[ ]: SHOULD Packages should try to preserve timestamps of original installed
files.
[x]: SHOULD Spec use %global instead of %define.
Rpmlint
-------
Checking: sugar-colordeducto-5-4.fc17.noarch.rpm
sugar-colordeducto-5-4.fc17.src.rpm
2 packages and 0 specfiles checked; 0 errors, 0 warnings.
Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:
Requires
--------
sugar-colordeducto-5-4.fc17.noarch.rpm (rpmlib, GLIBC filtered):
/usr/bin/env
sugar
Provides
--------
sugar-colordeducto-5-4.fc17.noarch.rpm:
sugar-colordeducto = 5-4.fc17
MD5-sum check
-------------
http://download.sugarlabs.org/sources/honey/ColorDeducto/ColorDeducto-5.tar.bz2 :
MD5SUM this package : 96059d808592a858d31fbba17cd5db58
MD5SUM upstream package : 96059d808592a858d31fbba17cd5db58
Generated by fedora-review 0.2.0 (53cc903) last change: 2012-07-09
Command line :/usr/bin/fedora-review -b 840425
Thanks Vasiliy for your review. Koji scratch build -> http://koji.fedoraproject.org/koji/taskinfo?taskID=4246498 Suggestions: 1) As per https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#.22or_later_version.22_licenses License should be GPLv3+ APPROVED. Sponsoring someone needs that person to do some unofficial reviews like Vasiliy done above. Have you done any package reviews? If yes then comment here that bug so that I can have a look at it and then sponsor you. Yes, Bug 839730 As I have already decided not to sponsor the reporter and its already been 4 months reporter has not sought any sponsorship from any other sponsor nor done any single package review, pushing back this to new queue as I don't know what to do with this reviewed package ticket. Re-approving this as reporter has been sponsored in package group by Peter Robinson. Version 7 is upstream. Shall we have the spec and srpm for the latest version? Kalpa, good catch. I just checked Upstream URL and it showed me version 5 still whereas you are right Download Source URL shows one more tarball versioned 7 so it should get packaged. Updated to version 7 Spec file URL: http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto.spec SRPM URL: http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto-7-1.fc18.src.rpm 1) mock build failed as this new tarball packaged now needs sugar-toolkit-gtk3 and not sugar-toolkit. Change the BuildRequires: sugar-toolkit to BuildRequires: sugar-toolkit-gtk3 2) You need to explicitly write python2-devel as BuildRequires. Change python-devel to python2-devel in spec. 3) License is "GPLv3 and MIT" Add the changelog that new BuildRequires for python2-devel and sugar-toolkit-gtk3 added. Bump the release number to -2 and submit again SPEC and SRPM. Thanks Paraga for the review and comments. SPEC file URL: http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto.spec SRPM URL: http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto.spec Few last thing remained 1) BuildRequires: python is not needed as we already added BuildRequires: python2-devel which will pull it so remove it. 2) there should not be any blank line between %changelog and first log line You can change this after or before your initial import of this srpm into dist-git APPROVED this new version. fixed the suggestions on comment #20 SPEC file URL: http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto.spec SRPM URL: http://snavin.fedorapeople.org/packages/sugar-colordeducto/sugar-colordeducto-7-3.fc18.src.rpm Looks good. New Package SCM Request ======================= Package Name: sugar-colordeducto Short Description: learning activity to improve students skills to deducing logic and learning colors Owners: snavin Branches: f17 f18 f19 InitialCC: Git done (by process-git-requests). sugar-colordeducto-7-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/sugar-colordeducto-7-3.fc18 sugar-colordeducto-7-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/sugar-colordeducto-7-3.fc19 sugar-colordeducto-7-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/sugar-colordeducto-7-3.fc17 sugar-colordeducto-7-3.fc18 has been pushed to the Fedora 18 testing repository. sugar-colordeducto-7-3.fc19 has been pushed to the Fedora 19 stable repository. sugar-colordeducto-7-3.fc18 has been pushed to the Fedora 18 stable repository. sugar-colordeducto-7-3.fc17 has been pushed to the Fedora 17 stable repository. |