Bug 693131

Summary: Review Request: sudoku-savant - Solve and generate sudoku puzzles through logical means
Product: [Fedora] Fedora Reporter: Mario Blättermann <mario.blaettermann>
Component: Package ReviewAssignee: Martin Gieseking <martin.gieseking>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, martin.gieseking, notting
Target Milestone: ---Flags: martin.gieseking: fedora-review+
j: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sudoku-savant-1.3-3.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-05 05:01:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mario Blättermann 2011-04-02 21:46:58 UTC
Spec URL: http://dl.dropbox.com/u/19373040/Fedora/SPECS/sudoku-savant.spec
SRPM URL: http://dl.dropbox.com/u/19373040/Fedora/sudoku-savant-1.3-1.fc14.src.rpm
Description:
A simple GUI-driven application to solve and generate sudoku puzzles through
logical means. Also supports manual solving, with pencil marks and cell
coloring. Should be able to solve any standard sudoku from a newspaper
or magazine.

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

$ rpmlint -v sudoku*
sudoku-savant.i686: I: checking
sudoku-savant.i686: I: checking-url http://sourceforge.net/projects/sudoku-savant/ (timeout 10 seconds)
sudoku-savant.i686: W: no-manual-page-for-binary sudoku-savant
sudoku-savant.src: I: checking
sudoku-savant.src: I: checking-url http://sourceforge.net/projects/sudoku-savant/ (timeout 10 seconds)
sudoku-savant.src: I: checking-url http://downloads.sourceforge.net/sudoku-savant/sudoku-savant-1.3.tar.bz2 (timeout 10 seconds)
sudoku-savant-debuginfo.i686: I: checking
sudoku-savant-debuginfo.i686: I: checking-url http://sourceforge.net/projects/sudoku-savant/ (timeout 10 seconds)
sudoku-savant.spec: I: checking-url http://downloads.sourceforge.net/sudoku-savant/sudoku-savant-1.3.tar.bz2 (timeout 10 seconds)
3 packages and 1 specfiles checked; 0 errors, 1 warnings.

Comment 1 Martin Gieseking 2011-04-03 13:46:25 UTC
Here are a couple of initial comments:

- The license seems to be GPLv3 only because there's no hint about later 
  versions. Please also ask upstream to add the missing copyright headers to the
  source files as requested by the GPL.

- Add a short comment about what the patch does.

- Drop BR: gcc-c++. It's always present in the build environment. See
  http://fedoraproject.org/wiki/PackagingGuidelines#Exceptions_2

- Drop the GTK icon cache scriptlets. They are only needed if you put something 
  into or below %{_datadir}/icons/hicolor.

- Drop INSTALL from %doc. It's not of much use in a binary package.

Comment 2 Martin Gieseking 2011-04-03 13:50:08 UTC
You can also remove the initial cleaning of the buildroot in %install if you don't plan to maintain the package for EPEL < 6.

Comment 3 Mario Blättermann 2011-04-03 14:31:07 UTC
Bug filed for Sudoku Savant:

https://sourceforge.net/tracker/?func=detail&aid=3272054&group_id=172187&atid=860784

Comment 4 Mario Blättermann 2011-04-27 13:54:29 UTC
Thanks for your hints.

Spec URL: http://dl.dropbox.com/u/19373040/Fedora/SPECS/sudoku-savant.spec
SRPM URL:
http://dl.dropbox.com/u/19373040/Fedora/sudoku-savant-1.3-2.fc14.src.rpm

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

No answer from the upstream developers yet.

Comment 5 Martin Gieseking 2011-04-28 08:05:38 UTC
OK, the package is almost ready. I had a deeper look into the sources and wasn't able to find any hint about the GPL version intended. Even on the website there's no further information. Thus, the package is licensed under GPL+ since we can't rely on the version number given in COPYING: 
http://fedoraproject.org/wiki/Licensing:FAQ#How_do_I_figure_out_what_version_of_the_GPL.2FLGPL_my_package_is_under.3F

Please also send the patch to the developer (if not yet done), and add a comment with the link pointing to the upstream bug ticket.
(http://fedoraproject.org/wiki/PackagingGuidelines#All_patches_should_have_an_upstream_bug_link_or_comment)

$ rpmlint /var/lib/mock/fedora-14-x86_64/result/*.rpm
sudoku-savant.x86_64: W: no-manual-page-for-binary sudoku-savant
3 packages and 0 specfiles checked; 0 errors, 1 warnings.

---------------------------------
key:

[+] OK
[.] OK, not applicable
[X] needs work
---------------------------------

[+] 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.
    - COPYING contains GPLv3 license text
    - src/aboutbox.cpp just mentions GPL but no version    
    - no further copyright information in the sources nor on 
      the project website
    => GPL+

[X] MUST: The License field in the package spec file must match the actual license.
    - please change the License tag to GPL+ and add a short comment to it
      that the sources/docs lack any concrete licensing information

[+] MUST: The 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.
    $ md5sum sudoku-savant-1.3.tar.bz2*
    668e77f35c6e8106da860a88c71f3c73  sudoku-savant-1.3.tar.bz2
    668e77f35c6e8106da860a88c71f3c73  sudoku-savant-1.3.tar.bz2.1

[+] MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture.
[.] MUST: If the package does not successfully compile, build or work on an architecture, ...
[+] MUST: All build dependencies must be listed in BuildRequires.
[+] MUST: When compiling C, C++, or Fortran files, %{optflags} must be applied.
[+] MUST: The spec file MUST handle locales properly.
[.] MUST: If a package installs files below %{_datadir}/icons, the icon cache must be updated.
[.] MUST: Packages storing shared library files (not just symlinks) must call ldconfig in %post and %postun.
[+] MUST: Packages must NOT bundle copies of system libraries.
[.] MUST: If the package is designed to be relocatable, ...
[+] MUST: A package must own all directories that it creates. 
[+] MUST: A Fedora package must not list a file more than once in %files.
[+] MUST: Permissions on files must be set properly.
[+] MUST: Each package must consistently use macros.
[+] MUST: The package must contain code, or permissable content.
[.] MUST: Large documentation files must go in a -doc subpackage.
[+] MUST: Files in %doc must not affect the runtime of the application.
[.] MUST: Header files must be in a -devel package.
[.] MUST: Static libraries must be in a -static package.
[.] MUST: If a package contains library files with a suffix (e.g. libfoo.so.1.1), ...
[.] MUST: devel packages must require the base package using a fully versioned dependency.
[+] MUST: Packages must NOT contain any .la libtool archives.
[+] MUST: Packages containing GUI applications must include a %{name}.desktop file.
[+] MUST: .desktop files 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: If the source package does not include license text(s) as a separate file from upstream, ...
[+] SHOULD: The reviewer should test that the package builds in mock.
[+] SHOULD: The reviewer should test that the package functions as described.
[.] SHOULD: If scriptlets are used, those scriptlets must be sane.
[.] SHOULD: Usually, subpackages other than devel should require the base package using a fully versioned dependency.
[.] SHOULD: pkgconfig(.pc) files should be placed in a -devel pkg.
[.] SHOULD: If the package has file dependencies outside of /etc, /bin, /sbin, /usr/bin, or /usr/sbin ...
[.] SHOULD: Your package should contain man pages for binaries/scripts.

Comment 6 Mario Blättermann 2011-04-28 13:50:18 UTC
Spec URL: http://dl.dropbox.com/u/19373040/Fedora/SPECS/sudoku-savant.spec
SRPM URL:
http://dl.dropbox.com/u/19373040/Fedora/sudoku-savant-1.3-3.fc14.src.rpm

I've added some comments regarding the license and build problems, including links to the appropriate upstream bugs.

Comment 7 Martin Gieseking 2011-04-28 14:10:03 UTC
OK, the package looks good now.  There's a small typo in the German %description you can fix before checking the package into Git (no need to bump the Release number for that, though): "Das manuelle Lösen..." (capital L)


----------------
Package APPROVED
----------------

Comment 8 Mario Blättermann 2011-04-28 14:20:38 UTC
Thanks for your review. The spelling error in the German description is already changed in the Dropbox files.

Comment 9 Mario Blättermann 2011-04-28 14:22:43 UTC
New Package SCM Request
=======================
Package Name: sudoku-savant
Short Description: Solve and generate sudoku puzzles through logical means
Owners: mariobl
Branches: f14 f15

Comment 10 Dennis Gilmore 2011-04-28 16:42:23 UTC
Mario you need to have the fas email match the one in bugzilla

Comment 11 Mario Blättermann 2011-04-28 18:55:16 UTC
(In reply to comment #10)
> Mario you need to have the fas email match the one in bugzilla

Done.

Comment 12 Jason Tibbitts 2011-04-29 16:09:42 UTC
Git done (by process-git-requests).

Comment 13 Fedora Update System 2011-04-29 16:52:57 UTC
sudoku-savant-1.3-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/sudoku-savant-1.3-3.fc15

Comment 14 Fedora Update System 2011-04-29 17:01:04 UTC
sudoku-savant-1.3-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/sudoku-savant-1.3-3.fc14

Comment 15 Fedora Update System 2011-04-29 22:20:02 UTC
sudoku-savant-1.3-3.fc14 has been pushed to the Fedora 14 testing repository.

Comment 16 Fedora Update System 2011-05-05 05:01:51 UTC
sudoku-savant-1.3-3.fc15 has been pushed to the Fedora 15 stable repository.

Comment 17 Fedora Update System 2011-05-09 01:52:45 UTC
sudoku-savant-1.3-3.fc14 has been pushed to the Fedora 14 stable repository.