Bug 821283 - Review Request: gsbase - A collection of java utility classes
Summary: Review Request: gsbase - A collection of java utility classes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Douglas Schilling Landgraf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 819344 (view as bug list)
Depends On: 819199
Blocks: 821284
TreeView+ depends on / blocked
 
Reported: 2012-05-13 22:42 UTC by gil cattaneo
Modified: 2013-06-13 05:58 UTC (History)
3 users (show)

Fixed In Version: gsbase-2.0.1-1.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-12 03:32:20 UTC
Type: ---
Embargoed:
dougsland: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description gil cattaneo 2012-05-13 22:42:56 UTC
Spec URL: http://gil.fedorapeople.org/gsbase.spec
SRPM URL: http://gil.fedorapeople.org/gsbase-2.0.1-1.fc16.src.rpm
Description: A collection of classes that are helpful
when writing JUnit test cases.

Comment 1 gil cattaneo 2012-12-13 18:30:27 UTC
*** Bug 819344 has been marked as a duplicate of this bug. ***

Comment 3 Douglas Schilling Landgraf 2013-06-02 00:00:15 UTC
Package reviewed manually + fedora-review tool

[OK] MUST: rpmlint must be run on the source rpm and all binary rpms the build produces. The output should be posted in the review.

Rpmlint
-------
Checking: gsbase-2.0.1-1.fc18.noarch.rpm
          gsbase-javadoc-2.0.1-1.fc18.noarch.rpm
2 packages and 0 specfiles checked; 0 errors, 0 warnings.

Rpmlint (installed packages)
----------------------------
# rpmlint gsbase gsbase-javadoc
2 packages and 0 specfiles checked; 0 errors, 0 warnings.

[OK] MUST: The package must be named according to the Package Naming Guidelines

[OK] MUST: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption

[OK] MUST: The package must meet the Packaging Guidelines 

[OK] MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines .

[OK] MUST: The License field in the package spec file must match the actual license. 

[OK] MUST: The spec file must be written in American English

[OK] MUST: The spec file for the package MUST be legible.

[OK] MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. Reviewers should use sha256sum for this task as it is used by the sources file once imported into git. If no upstream URL can be specified for this package, please see the Source URL Guidelines for how to deal with this.

http://downloads.sourceforge.net/gsbase/gsbase-2.0.1.zip :
  CHECKSUM(SHA256) this package     : a90e173a63dcb0f2a930304c39fd8df54d4d291d4c86374375a48e339933017f
  CHECKSUM(SHA256) upstream package : a90e173a63dcb0f2a930304c39fd8df54d4d291d4c86374375a48e339933017f
http://repo1.maven.org/maven2/gsbase/gsbase/2.0.1/gsbase-2.0.1.pom :
  CHECKSUM(SHA256) this package     : 566509ce2266a9f0880cf20bef541819367e1e9bc7f115e973e242be31bbf712
  CHECKSUM(SHA256) upstream package : 566509ce2266a9f0880cf20bef541819367e1e9bc7f115e973e242be31bbf712

[OK] MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture. 

[OK] MUST: All build dependencies must be listed in BuildRequires, except for any that are listed in the exceptions section of the Packaging Guidelines ; inclusion of those as BuildRequires is optional. Apply common sense.

[OK] MUST: Packages must NOT bundle copies of system libraries

[OK] MUST: A Fedora package must not list a file more than once in the spec file's %files listings. 

[OK] MUST: Permissions on files must be set properly. Executables should be set with executable permissions, for example.

[OK] MUST: Each package must consistently use macros. 

[OK] MUST: The package must contain code, or permissable content.

[OK] MUST: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built

[OK] MUST: All filenames in rpm packages must be valid UTF-8.

Java
========
Java:
[OK] MUST: Packages have proper BuildRequires/Requires on jpackage-utils
     Note: Maven packages do not need to (Build)Require jpackage-utils. It is
     pulled in by maven-local

[OK] MUST: Fully versioned dependency in subpackages, if present.

[OK] MUST: Javadoc documentation files are generated and included in -javadoc
     subpackage

[OK] MUST: Javadoc subpackages should not have Requires: jpackage-utils

[OK] MUST: Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink)

[OK] MUST: Bundled jar/class files should be removed before build

[OK] MUST: Packages are noarch unless they use JNI


Maven
======
[OK] MUST: Old add_to_maven_depmap macro is not being used

[OK] MUST: Packages DOES NOT have Requires(post) and Requires(postun) on jpackage-
     utils for %update_maven_depmap macro

[OK] MUST: Package DOES NOT use %update_maven_depmap in %post/%postun

[OK] MUST: Packages use %{_mavenpomdir} instead of %{_datadir}/maven2/poms

Should
========
[OK] MUST: Packager, Vendor, PreReq, Copyright tags should not be in spec file

[OK] MUST: Sources can be downloaded from URI in Source: tag

[OK] MUST: Reviewer should test that the package builds in mock.

[OK] MUST: Buildroot is not present

[OK] MUST: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)

[OK] MUST: Dist tag is present.

[OK] MUST: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.

[OK] MUST: SourceX tarball generation or download is documented.

[OK] MUST: SourceX is a working URL.

[OK] MUST: Spec use %global instead of %define.


Suggestions:
===============
- Please consider talking with upstream to include a license document for ASL.
- Maven packages should use new style packaging
  Note: If possible update your package to latest guidelines
  See: https://fedoraproject.org/wiki/Packaging:Java#Apache_Maven

All above suggestions can be worked in parallel of packaging.

Final status: APPROVED.

Comment 4 gil cattaneo 2013-06-02 07:11:37 UTC
New Package SCM Request
=======================
Package Name: gsbase
Short Description: A collection of java utility classes
Owners: gil
Branches: f18 f19 f20
InitialCC: java-sig

Comment 5 Gwyn Ciesla 2013-06-03 10:11:38 UTC
Git done (by process-git-requests).

Comment 6 Fedora Update System 2013-06-03 11:15:38 UTC
gsbase-2.0.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/gsbase-2.0.1-1.fc19

Comment 7 Fedora Update System 2013-06-03 11:34:36 UTC
gsbase-2.0.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gsbase-2.0.1-1.fc18

Comment 8 Fedora Update System 2013-06-03 14:42:23 UTC
gsbase-2.0.1-1.fc19 has been pushed to the Fedora 19 testing repository.

Comment 9 Fedora Update System 2013-06-12 03:32:20 UTC
gsbase-2.0.1-1.fc19 has been pushed to the Fedora 19 stable repository.

Comment 10 Fedora Update System 2013-06-13 05:58:32 UTC
gsbase-2.0.1-1.fc18 has been pushed to the Fedora 18 stable repository.


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