[Bug 2286] Review request: mari0 - A recreation of the original Super Mario Bros with a portal gun

RPM Fusion Bugzilla noreply at rpmfusion.org
Fri Aug 17 20:30:45 CEST 2012


https://bugzilla.rpmfusion.org/show_bug.cgi?id=2286

--- Comment #8 from Jeremy Newton <alexjnewt at hotmail.com> 2012-08-17 20:30:45 CEST ---
(In reply to comment #7)
> Here is the review:
> 
>  +:ok, =:needs attention, -:needs fixing, x: not appicable
> 
> MUST Items:
> [+] MUST: rpmlint must be run on every package.
> [+] MUST: The package must be named according to the Package Naming Guidelines.
> [+] MUST: The spec file name must match the base package %{name}
> [=] MUST: The package must meet the Packaging Guidelines.
> [=] MUST: The package must be licensed with a Fedora approved license and meet
> the Licensing Guidelines.
> It does not, but we are RPM Fusion :)
> [+] MUST: The License field in the package spec file must match the actual
> license.
> [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 must be included in %doc.
> [+] MUST: The spec file must be written in American English.
> [+] MUST: The spec file for the package MUST be legible.
> [+] MUST: The sources used to build the package must match the upstream source,
> as provided in the spec URL.
> 22125f68ff41795fa8bafad5d1b1d1a9  mari0-source.zip
> 22125f68ff41795fa8bafad5d1b1d1a9  mari0-source.zip
> [+] MUST: The package must successfully compile and build into binary rpms on
> at least one supported architecture.
> Verified on f17/x86_64
> [x] MUST: If the package does not successfully compile, build or work on an
> architecture, then those architectures should be listed in the spec in
> ExcludeArch.
> [-] MUST: All build dependencies must be listed in BuildRequires
> [x] MUST: The spec file MUST handle locales properly. This is done by using the
> %find_lang macro.
> [x] MUST: Every binary RPM package which stores shared library files (not just
> symlinks) in any of the dynamic linker's default paths, must call ldconfig in
> %post and %postun.
> [x] MUST: If the package is designed to be relocatable, the packager must state
> this fact in the request for review
> [+] MUST: A package must own all directories that it creates. If it does not
> create a directory that it uses, then it should require a package which does
> create that directory.
> [+] MUST: A package must not contain any duplicate files in the %files listing.
> [-] MUST: Each package must consistently use macros, as described in the macros
> section of Packaging Guidelines.
> [+] MUST: The package must contain code, or permissible content. This is
> described in detail in the code vs. content section of Packaging Guidelines.
> [x] MUST: Large documentation files should go in a doc subpackage.
> [+] MUST: If a package includes something as %doc, it must not affect the
> runtime of the application.
> [x] MUST: Header files must be in a -devel package.
> [x] MUST: Static libraries must be in a -static package.
> [x] MUST: Packages containing pkgconfig(.pc) files must 'Requires: pkgconfig'
> (for directory ownership and usability).
> [x] MUST: If a package contains library files with a suffix (e.g.
> libfoo.so.1.1), then library files that end in .so (without suffix) must go in
> a -devel package.
> [x] MUST: In the vast majority of cases, devel packages must require the base
> package using a fully versioned dependency: Requires: %{name} =
> %{version}-%{release} 
> [x] MUST: Packages must NOT contain any .la libtool archives, these should be
> removed in the spec.
> [=] MUST: Packages containing GUI applications must include a %{name}.desktop
> file, and that file must be properly installed with desktop-file-install in the
> %install section.
> [+] MUST: Packages must not own files or directories already owned by other
> packages.
> [+] MUST: All filenames in rpm packages must be valid UTF-8.
> 
> SHOULD Items:
> [=] 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: The description and summary sections in the package spec file
> should contain translations for supported Non-English languages, if available.
> [+] SHOULD: The reviewer should test that the package builds in mock.
> Verified with f17/x86_64
> [x] SHOULD: The package should compile and build into binary rpms on all
> supported architectures.
> Not verified but since there is no compiling I guess it does build.
> [+] SHOULD: The reviewer should test that the package functions as described.
> [x] SHOULD: If scriptlets are used, those scriptlets must be sane.
> [x] SHOULD: Usually, subpackages other than devel should require the base
> package using a fully versioned dependency.
> [x] SHOULD: The placement of pkgconfig(.pc) files depends on their usecase, and
> this is usually for development purposes, so should be placed in a -devel pkg.
> A reasonable exception is that the main pkg itself is a devel tool not
> installed in a user runtime, e.g. gcc or gdb.
> [x] SHOULD: If the package has file dependencies outside of /etc, /bin, /sbin,
> /usr/bin, or /usr/sbin consider requiring the package which provides the file
> instead of the file itself.
> [+] SHOULD: Packages should try to preserve timestamps of original installed
> files.
> 
> Issues:
> 1. mario0-extra contains just the desktop file. It is easier and simpler to
> trace the changes in CVS if you package it unzipped and you don't upload to the
> lookaside cache. E.g.:
> Source1:        %{name}.desktop

Oh good point; I zipped it for the sake of saving space, but I'll fix this as
it does make more sense.

> 2. BuildRequires:  unzip" is not necessary. See:
> https://fedoraproject.org/wiki/Packaging:Guidelines#Exceptions_2
>
> 3. Macros are not consistently used. 
> Use %{_datadir} instead of %_datadir; %{name} instead of %name

I didn't notice these, thanks for the help!

> 4. In the desktop file, please be more specific in the Categories key:
> http://standards.freedesktop.org/menu-spec/latest/apa.html
> 
> E.g. use something like:
> Categories=Game;ArcadeGame;
> 
> Moreover, you can call the wrapper script you created in Exec. E.g.:
> Exec=mari0

Good point, thanks again.

> 5. A license is not included. You should query upstream to include it.

I would like to note that I have queried upstream (via email as that is the
only form of contact available). The response I got was of indifference. To
paraphrase, upstream's response was that the link and statement in the
readme.txt is good enough for them.


I'll upload and post the new files once I'm done.

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the rpmfusion-developers mailing list