Bug 788630 - Review Request: plexus-pom - Root Plexus Projects pom
Summary: Review Request: plexus-pom - Root Plexus Projects pom
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 16:31 UTC by gil cattaneo
Modified: 2012-10-23 12:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-06 09:57:23 UTC
Type: ---
Embargoed:
sochotni: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description gil cattaneo 2012-02-08 16:31:21 UTC
Spec URL: http://gil.fedorapeople.org/plexus-pom.spec
SRPM URL: http://gil.fedorapeople.org/plexus-pom-3.0.1-1.fc16.src.rpm
Description: The Plexus project provides a full software stack for creating and
executing software projects.

Comment 1 Stanislav Ochotnicky 2012-02-15 09:46:13 UTC
I'll review the package

Comment 2 Stanislav Ochotnicky 2012-02-15 15:02:13 UTC
Package Review
==============

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated



==== Generic ====
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[x]: MUST All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: MUST Buildroot is not present
     Note: Unless packager wants to package for EPEL5 this is fine
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean would be needed if support for EPEL is required
[x]: MUST Sources contain only permissible code or content.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: Note: defattr macros not found. They would be needed for EPEL5
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf would be needed if support for EPEL5 is required
[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 is included in %doc.
[x]: MUST License field in the package spec file matches the actual license.
[x]: MUST Package consistently uses macros (instead of hard-coded directory
     names).
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generate any conflict.
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[!]: MUST Requires correct, justified where necessary.
You should probably skip Requires from <dependencyManagement>
section. depManagement only specifies versions/configuration of given
artifact if child module/project uses it. This way we'd always pull in
all plugins even if they were not needed.

[!]: MUST Rpmlint output is silent.

rpmlint plexus-pom-3.0.1-1.fc18.src.rpm

plexus-pom.src: W: invalid-url Source0: plexus-pom-3.0.1.tar.xz
1 packages and 0 specfiles checked; 0 errors, 1 warnings.


rpmlint plexus-pom-3.0.1-1.fc18.noarch.rpm

plexus-pom.noarch: W: no-documentation
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

explained how to recreate, no problem


[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: MUST Package contains a SysV-style init script if in need of one.
[x]: MUST File names are valid UTF-8.
[x]: SHOULD Reviewer should test that the package builds in mock.
[!]: 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.

     Would be nice to have I guess, but it's included in pom itself so
     no big deal

[x]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
     /usr/sbin.
[!]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).

     See requires
[x]: SHOULD Package functions as described.
[x]: SHOULD Package does not include license text files separate from
     upstream.
[x]: SHOULD Patches link to upstream bugs/comments/lists or are otherwise
     justified.


[x]: SHOULD SourceX is a working URL.
[x]: SHOULD Package should compile and build into binary rpms on all supported
     architectures.
[x]: SHOULD Packages should try to preserve timestamps of original installed
     files.
[x]: SHOULD Spec use %global instead of %define.


==== Java ====
[x]: MUST If source tarball includes bundled jar/class files these need to be
     removed prior to building
[x]: MUST Packages have proper BuildRequires/Requires on jpackage-utils
[x]: MUST Fully versioned dependency in subpackages, if present.
[-]: MUST Javadoc documentation files are generated and included in -javadoc
     subpackage
[-]: MUST Javadoc subpackages have Requires: jpackage-utils
[-]: MUST Javadocs are placed in %{_javadocdir}/%{name} (no -%{version}
     symlink)
[x]: SHOULD Package has BuildArch: noarch (if possible)
[x]: SHOULD Package uses upstream build method (ant/maven/etc.)


==== Maven ====
[x]: MUST Pom files have correct add_maven_depmap call
[x]: MUST Old add_to_maven_depmap macro is not being used
[x]: MUST Packages DOES NOT have Requires(post) and Requires(postun) on
     jpackage-utils for %update_maven_depmap macro
[x]: MUST If package contains pom.xml files install it (including depmaps)
     even when building with ant
[x]: MUST Package DOES NOT use %update_maven_depmap in %post/%postun
[x]: MUST Packages use %{_mavenpomdir} instead of %{_datadir}/maven2/poms

Issues:
 - Excessive requires, otherwise the package looks OK




Generated by fedora-review 0.1.3pre
External plugins:
/usr/share/fedora-review/plugins/ext2.pl version: 1.0

Comment 4 Stanislav Ochotnicky 2012-02-21 15:07:21 UTC
Looks good now, just for future please raise release numbers during reviews. It makes reviewing much easier. 

APPROVED

Comment 5 gil cattaneo 2012-02-22 13:45:48 UTC
New Package SCM Request
=======================
Package Name: plexus-pom
Short Description: Root Plexus Projects pom
Owners: gil
Branches: f16 f17
InitialCC: java-sig

Comment 6 Stanislav Ochotnicky 2012-02-23 09:55:22 UTC
You forgot to set cvs+ flag, setting it for you :-)

Comment 7 Gwyn Ciesla 2012-02-23 13:28:51 UTC
Git done (by process-git-requests).

Comment 8 Stanislav Ochotnicky 2012-03-02 10:48:34 UTC
Please remember to close these bugs after the builds (or if you are planning on putting it to F16+, add them as bugs to bodhi updates so they get closed automatically)

Comment 9 Mikolaj Izdebski 2012-10-23 12:39:40 UTC
plexus-pom is in rawhide, setting appropriate resolution.


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