Bug 592445 - Review Request: maven-pmd-plugin - Maven PMD Plugin
Summary: Review Request: maven-pmd-plugin - Maven PMD Plugin
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnston
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-14 21:09 UTC by Alexander Kurtakov
Modified: 2010-05-18 20:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-18 20:46:23 UTC
Type: ---
jjohnstn: fedora-review+
dennis: fedora-cvs+

Attachments (Terms of Use)

Description Alexander Kurtakov 2010-05-14 21:09:52 UTC
Spec URL: http://akurtakov.fedorapeople.org/maven-pmd-plugin.spec
SRPM URL: http://akurtakov.fedorapeople.org/maven-pmd-plugin-2.5-1.fc13.src.rpm
Description: A Maven plugin for the PMD toolkit, that produces a report on both code rule violations and detected copy and paste fragments, as well as being able to fail the build based on these metrics.

Comment 1 Alexander Kurtakov 2010-05-14 21:16:39 UTC
Note about this package:
  It built successfully in koji with dist-f14-maven221 target: http://koji.fedoraproject.org/koji/taskinfo?taskID=2188813

Comment 2 Jeff Johnston 2010-05-14 21:25:03 UTC
Needs an epoch of 1 for the Provides statement.

rpmlint details:

bash $ rpmlint maven-pmd-plugin.spec
maven-pmd-plugin.spec: W: invalid-url Source0: maven-pmd-plugin-2.5.tar.xz
0 packages and 1 specfiles checked; 0 errors, 1 warnings.

bash $ rpmlint maven-pmd-plugin-2.5-1.fc14.noarch.rpm 
maven-pmd-plugin.noarch: W: no-documentation
maven-pmd-plugin.noarch: W: non-conffile-in-etc /etc/maven/fragments/maven-pmd-plugin
1 packages and 0 specfiles checked; 0 errors, 2 warnings

bash $ rpmlint maven-pmd-plugin-javadoc-2.5-1.fc14.noarch.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Comment 3 Jeff Johnston 2010-05-14 21:29:20 UTC
Actually, on reflection, the epoch is not needed since the new version is higher than the old 2.0.8.  The other comments can be ignored.  The source tarball info is provided and the non-conffile message is extraneous.


Comment 4 Alexander Kurtakov 2010-05-14 21:30:23 UTC
New Package CVS Request
Package Name: maven-pmd-plugin
Short Description: Maven PMD Plugin
Owners: akurtakov

Comment 5 Dennis Gilmore 2010-05-18 18:30:42 UTC
CVS Done

BTW once an epoch is introduced it always needs to be there. so you do need it in the provides  otherwise the old package will be seen as newer

Comment 6 Alexander Kurtakov 2010-05-18 20:32:54 UTC
Dennis, this is not true because it has the correct epoch in the obsoletes thus it don't need it in the package itself.
package A without epoch can obsolete package B with epoch: 5 as long as the epoch of package B is used in the package A obsolete

P.S. Trust me I've checked that with a big number of packages

Comment 7 Alexander Kurtakov 2010-05-18 20:46:23 UTC
Fixed. Build in koji:

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