Bug 643017 - Review Request:jdependency - This project provides an API to analyse class dependencies
Summary: Review Request:jdependency - This project provides an API to analyse class de...
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:
: 532532 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-14 13:20 UTC by Pierre-YvesChibon
Modified: 2010-10-22 14:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-22 14:40:57 UTC
Type: ---
Embargoed:
akurtako: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Pierre-YvesChibon 2010-10-14 13:20:36 UTC
Spec URL: http://pingou.fedorapeople.org/RPMs/vafer-jdependency.spec
SRPM URL: http://pingou.fedorapeople.org/RPMs/vafer-jdependency-0.6-1.fc13.src.rpm
Description: 
jdependency is small library that helps you analyze class level 
dependencies, clashes and missing classes.

Comment 1 Alexander Kurtakov 2010-10-14 13:28:44 UTC
*** Bug 532532 has been marked as a duplicate of this bug. ***

Comment 2 Alexander Kurtakov 2010-10-14 13:53:05 UTC
There is no more vafer in this project. Please name it properly - jdependency.
And I'm taking this one.

Comment 4 Alexander Kurtakov 2010-10-15 07:30:52 UTC
Key:
- = N/A
x = Check
! = Problem
? = Not evaluated

=== REQUIRED ITEMS ===
[X]  Rpmlint output:
jdependency.noarch: W: spelling-error Summary(en_US) analyse -> analyst, analyze, ana lyse
jdependency.noarch: W: non-conffile-in-etc /etc/maven/fragments/jdependency
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].
[X]  Package successfully compiles and builds into binary rpms.
[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: ASL 2.0
[X]  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.
[!]  All independent sub-packages have license of their own
Javadoc subpackage should install doc because it doesn't depend on 
[X]  Spec file is legible and written in American English.
[-]  Sources used to build the package matches the upstream source, as provided in the spec URL.
[!]  All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines[5].
Maven and plugins are missing as build requires.
[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.
[-]  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
[X]  If package uses tarball from VCS include comment how to re-create that tarball (svn export URL, git clone URL, ...)
[-]  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.

=== Maven ===
[X]  Use %{_mavenpomdir} macro for placing pom files instead of %{_datadir}/maven2/poms
[-]  If package uses "-Dmaven.test.skip=true" explain why it was needed in a comment
[-]  If package uses custom depmap "-Dmaven2.jpp.depmap.file=*" explain why it's needed in a comment
[X]  Package uses %update_maven_depmap in %post/%postun
[X]  Packages have Requires(post) and Requires(postun) on jpackage-utils (for %update_maven_depmap macro)

=== Other suggestions ===
[X]  If possible use upstream build method (maven/ant/javac)
[X]  Javadocs are placed in %{_javadocdir}/%{name}-%{version} with %{_javadocdir}/%{name} symlink
[X]  Jar files are installed to %{_javadir}/%{name}-%{version}.jar with %{_javadir}/%{name}.jar (unversioned) symlink
[X]  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.

=== Issues ===
1. Missing license in javadoc subpackage.
2. Missing BRs on maven plugins
3. Old name of jakarta-commons-io used should be apache-commons-io now.

Comment 5 Pierre-YvesChibon 2010-10-15 07:52:00 UTC
Thanks for the review, there is the new version with the required changes.

Spec:
http://pingou.fedorapeople.org/RPMs/jdependency.spec
SRPM: 
http://pingou.fedorapeople.org/RPMs/jdependency-0.6-3.fc13.src.rpm

Comment 6 Alexander Kurtakov 2010-10-15 07:54:54 UTC
Thanks,

This package is APPROVED.

Comment 7 Pierre-YvesChibon 2010-10-15 07:59:49 UTC
New Package SCM Request
=======================
Package Name: jdependency
Short Description: This project provides an API to analyse class dependencies
Owners: pingou
Branches: F-14
InitialCC:

Comment 8 Kevin Fenzi 2010-10-16 21:21:03 UTC
Git done (by process-git-requests).


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