Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 592445 - Review Request: maven-pmd-plugin - Maven PMD Plugin
Review Request: maven-pmd-plugin - Maven PMD Plugin
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: Package Review (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnston
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-14 17:09 EDT by Alexander Kurtakov
Modified: 2010-05-18 16:46 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-18 16:46:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
jjohnstn: fedora‑review+
dennis: fedora‑cvs+


Attachments (Terms of Use)

  None (edit)
Description Alexander Kurtakov 2010-05-14 17:09:52 EDT
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 17:16:39 EDT
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 17:25:03 EDT
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 17:29:20 EDT
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.

Approved.
Comment 4 Alexander Kurtakov 2010-05-14 17:30:23 EDT
New Package CVS Request
=======================
Package Name: maven-pmd-plugin
Short Description: Maven PMD Plugin
Owners: akurtakov
Branches: 
InitialCC:
Comment 5 Dennis Gilmore 2010-05-18 14:30:42 EDT
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 16:32:54 EDT
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 16:46:23 EDT
Fixed. Build in koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2195001

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