Bug 823017 - Review Request: erlang-gtknode - Erlang GTK2 binding
Summary: Review Request: erlang-gtknode - Erlang GTK2 binding
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michel Alexandre Salim
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 822997
TreeView+ depends on / blocked
Reported: 2012-05-18 19:21 UTC by Peter Lemenkov
Modified: 2012-06-28 16:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-06-17 22:20:56 UTC
michel: fedora-review+
gwync: fedora-cvs+

Attachments (Terms of Use)

Description Peter Lemenkov 2012-05-18 19:21:34 UTC
Spec URL: http://peter.fedorapeople.org/erlang-gtknode.spec
SRPM URL: http://peter.fedorapeople.org/erlang-gtknode-0.32-1.fc18.src.rpm
Description: Erlang GTK binding.

Koji scratchbuild for F-18:

sulaco ~/rpmbuild/SPECS: rpmlint ../SRPMS/erlang-gtknode-0.32-1.fc18.src.rpm ../RPMS/ppc/erlang-gtknode-*
erlang-gtknode.src: W: invalid-url Source0: massemanet-gtknode-19ddfd5.tar.gz

^^^ this is a github's issue, not mine.

3 packages and 0 specfiles checked; 0 errors, 1 warnings.
sulaco ~/rpmbuild/SPECS:

Comment 1 Michel Alexandre Salim 2012-06-07 08:13:26 UTC
Taking this review

Comment 2 Michel Alexandre Salim 2012-06-07 10:40:03 UTC
* Seems like the latest Git snapshot, which you're packaging, is a post-release -- version 0.32 is commit e4a4581a82 from 2007, the latest commit is from 2011.

Could you change the release tag? see


e.g. 1.%{commit_date}git%{git_tag}%{?dist}

* The download link should say 'tarball' not zipball since you use the tarball as the source (and it's smaller than the zip)

* the patch does not indicate if it's been sent upstream - add a comment with the issue URL if one exist, or comment saying "sent to upstream via email"?

Package Review

- = N/A
x = Pass
! = Fail
? = Not evaluated

==== Generic ====
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[x]: 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
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     Note: Clean would be needed if support for EPEL is required
[x]: 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
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: 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.
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[!]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf is only needed if supporting EPEL5
[-]: 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.
[x]: MUST License field in the package spec file matches the actual license.
[x]: MUST Package consistently uses macros (instead of hard-coded directory
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generate any conflict.
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[x]: MUST Requires correct, justified where necessary.
[x]: MUST Rpmlint output is silent.
[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
[-]: MUST Package contains a SysV-style init script if in need of one.
[x]: MUST File names are valid UTF-8.
[-]: MUST Useful -debuginfo package or justification otherwise.
[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,
[x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
[?]: SHOULD Package functions as described.
[x]: SHOULD Latest version is packaged.
[x]: SHOULD Package does not include license text files separate from
[!]: SHOULD Patches link to upstream bugs/comments/lists or are otherwise
[x]: SHOULD SourceX / PatchY prefixed with %{name}.
[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.
[x]: SHOULD Package should compile and build into binary rpms on all supported
[-]: SHOULD %check is present and all tests pass.
     Upstream doesn't provide tests
[-]: SHOULD Packages should try to preserve timestamps of original installed
     All the installed files are compiled anyway, no point preserving the
     exact build time
[x]: SHOULD Spec use %global instead of %define.

[!]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf is only needed if supporting EPEL5
See: None
[!]: SHOULD Patches link to upstream bugs/comments/lists or are otherwise
     Has this been upstreamed, and if possible, is there a public URL to the
     bug report?

Generated by fedora-review 0.2.0git
External plugins:

Comment 3 Peter Lemenkov 2012-06-07 19:00:38 UTC
Thanks for reviewing this!

Fixed numbering scheme, patches were sent upstream (and added one more) and added comment on how to get proper tarball:

* http://peter.fedorapeople.org/erlang-gtknode.spec
* http://peter.fedorapeople.org/erlang-gtknode-0.32-2.20110310git19ddfd5.fc18.src.rpm

Koji scratchbuild for F-18:

* http://koji.fedoraproject.org/koji/taskinfo?taskID=4137549

Comment 4 Michel Alexandre Salim 2012-06-09 12:48:26 UTC
Everything looks good - APPROVED

Comment 5 Peter Lemenkov 2012-06-09 12:51:20 UTC
(In reply to comment #4)
> Everything looks good - APPROVED

Thanks for the review!

New Package SCM Request
Package Name: erlang-gtknode
Short Description: Erlang GTK2 binding
Owners: peter
Branches: f16 f17 el6

Comment 6 Gwyn Ciesla 2012-06-09 17:23:37 UTC
Git done (by process-git-requests).

Comment 7 Fedora Update System 2012-06-09 19:01:41 UTC
erlang-gtknode-0.32-2.20110310git19ddfd5.fc16 has been submitted as an update for Fedora 16.

Comment 8 Fedora Update System 2012-06-09 19:01:50 UTC
erlang-gtknode-0.32-2.20110310git19ddfd5.fc17 has been submitted as an update for Fedora 17.

Comment 9 Fedora Update System 2012-06-09 19:02:21 UTC
erlang-gtknode-0.32-2.20110310git19ddfd5.el6 has been submitted as an update for Fedora EPEL 6.

Comment 10 Fedora Update System 2012-06-10 01:30:06 UTC
erlang-gtknode-0.32-2.20110310git19ddfd5.fc16 has been pushed to the Fedora 16 testing repository.

Comment 11 Fedora Update System 2012-06-17 22:20:56 UTC
erlang-gtknode-0.32-2.20110310git19ddfd5.fc16 has been pushed to the Fedora 16 stable repository.

Comment 12 Fedora Update System 2012-06-17 22:25:25 UTC
erlang-gtknode-0.32-2.20110310git19ddfd5.fc17 has been pushed to the Fedora 17 stable repository.

Comment 13 Fedora Update System 2012-06-28 16:08:09 UTC
erlang-gtknode-0.32-2.20110310git19ddfd5.el6 has been pushed to the Fedora EPEL 6 stable repository.

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