Bug 654443 - Review Request: h2 - h2 database engine
Summary: Review Request: h2 - h2 database engine
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Kurtakov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-17 21:20 UTC by Chris Aniszczyk
Modified: 2014-07-25 05:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-29 10:04:24 UTC
Type: ---
Embargoed:
akurtako: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description Chris Aniszczyk 2010-11-17 21:20:38 UTC
Spec URL: http://aniszczyk.org/misc/h2/h2.spec
SRPM URL: http://aniszczyk.org/misc/h2/h2-1.2.145-1.fc14.src.rpm
Description: h2, the Java SQL database

Comment 1 Chris Aniszczyk 2010-11-17 21:24:03 UTC
Alex, can you review?

Comment 2 Alexander Kurtakov 2010-11-18 00:08:45 UTC
Ok, I'll do it. 
Btw, the review flag is smth the reviewer should set

Comment 3 Alexander Kurtakov 2010-11-18 14:58:31 UTC
Package Review
==============

Key:
- = N/A
x = Check
! = Problem
? = Not evaluated

=== REQUIRED ITEMS ===
[!]  Rpmlint output:
h2-javadoc.noarch: W: spelling-error Summary(en_US) Javadocs -> Java docs, Java-docs, Javanese
not a problem
h2-javadoc.noarch: W: invalid-license EPL 1.0
h2.noarch: W: invalid-license EPL 1.0
Please use the standard short names of the licences
h2.noarch: W: no-documentation
not a problem

[x]  Package is named according to the Package Naming Guidelines[1].
[x]  Spec file name must match the base package name, in the format %{name}.spec.
[x]  Package meets the Packaging Guidelines[2].
[!]  Package successfully compiles and builds into binary rpms.
see http://koji.fedoraproject.org/koji/getfile?taskID=2608459&name=build.log
[x]  Buildroot is correct (%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n))
[x]  Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines[3,4].
[x]  License field in the package spec file matches the actual license.
License type: EPL
[!]  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.
there is doc/html/license.html file which should be installed as doc
[x]  All independent sub-packages have license of their own
[x]  Spec file is legible and written in American English.
[x]  Sources used to build the package matches the upstream source, as provided in the spec URL.
[x]  All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines[5].
[x]  Package must own all directories that it creates.
[x]  Package requires other packages for directories it uses.
[x]  Package does not contain duplicates in %files.
[x]  Permissions on files are set properly.
[x]  Package has a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
[x]  Package consistently uses macros.
[x]  Package contains code, or permissable content.
[x]  Fully versioned dependency in subpackages, if present.
[-]  Package contains a properly installed %{name}.desktop file if it is a GUI application.
[x]  Package does not own files or directories owned by other packages.
[x]  Javadoc documentation files are generated and included in -javadoc subpackage
[x]  Packages have proper BuildRequires/Requires on jpackage-utils
[x]  Javadoc subpackages have Require: jpackage-utils
[-]  Package uses %global not %define
[-]  If package uses tarball from VCS include comment how to re-create that tarball (svn export URL, git clone URL, ...)
[x]  If source tarball includes bundled jar/class files these need to be removed prior to building
[x]  All filenames in rpm packages must be valid UTF-8.

=== Other suggestions ===
[x]  If possible use upstream build method (maven/ant/javac)
[-]  If package contains pom.xml files install it (including depmaps) even when building with ant 
[x]  Avoid having BuildRequires on exact NVR unless necessary
[x]  Package has BuildArch: noarch (if possible)
[x]  Latest version is packaged.
[!]  Reviewer should test that the package builds in mock.



=== Issues ===
1. Fix license tag.
2. Fix compile.
3. Install license as doc in both main and javadoc subpackage.
4. Drop dependency on main package in javadoc.

Comment 4 Chris Aniszczyk 2010-11-18 15:37:29 UTC
"4. Drop dependency on main package in javadoc"

What does this mean?

Comment 5 Alexander Kurtakov 2010-11-18 15:54:46 UTC
"Requires:       %{name} = %{version}-%{release}" line should be gone because javadoc is perfectly usable without the jar.

Comment 6 Chris Aniszczyk 2010-11-19 17:13:22 UTC
Ok, uploaded new changes, passes koji scratch build :)

http://koji.fedoraproject.org/koji/taskinfo?taskID=2611564

Spec URL: http://aniszczyk.org/misc/h2/h2.spec
SRPM URL: http://aniszczyk.org/misc/h2/h2-1.2.145-1.fc14.src.rpm

Comment 7 Alexander Kurtakov 2010-11-22 07:52:34 UTC
3. Install license as doc in BOTH main and javadoc subpackage. is still not fixed

Please use servlet25 (tomcat6) unless you are going to spend time on tomcat5 maintainership.

Comment 8 Chris Aniszczyk 2010-11-23 15:53:20 UTC
Uploaded new change with Alex's suggested changes.

Spec URL: http://aniszczyk.org/misc/h2/h2.spec
SRPM URL: http://aniszczyk.org/misc/h2/h2-1.2.145-1.fc14.src.rpm

http://koji.fedoraproject.org/koji/taskinfo?taskID=2619046

Comment 9 Alexander Kurtakov 2010-11-23 21:15:09 UTC
Thanks, 
This package is APPROVED.

P.S. Please submit the 2 patches upstream.

Comment 10 Chris Aniszczyk 2010-11-23 22:10:25 UTC
Thanks Alex!

New Package SCM Request
=======================
Package Name: h2
Short Description: Java SQL database
Owners: caniszczyk
Branches: f14
InitialCC: caniszczyk

Comment 11 Jason Tibbitts 2010-11-24 20:38:23 UTC
Git done.

Comment 12 Chris Aniszczyk 2010-11-29 10:04:24 UTC
In rawhide now...


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