Bug 591857 - Review Request: maven-resources-plugin - Maven Resources Plugin
Summary: Review Request: maven-resources-plugin - Maven Resources Plugin
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:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-13 11:20 UTC by huwang
Modified: 2010-05-20 12:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-20 12:13:21 UTC
Type: ---
Embargoed:
akurtako: fedora-review+
dennis: fedora-cvs+


Attachments (Terms of Use)

Comment 1 Rahul Sundaram 2010-05-14 11:00:16 UTC
Since you are looking for a sponsor,  refer to

https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group

Comment 2 Alexander Kurtakov 2010-05-17 11:52:29 UTC
I'm taking this one.

Comment 3 Alexander Kurtakov 2010-05-17 13:45:27 UTC
Review:

OK: rpmlint must be run on every package. OUTPUT:
maven-resources-plugin.noarch: W: no-documentation
maven-resources-plugin.noarch: W: non-conffile-in-etc /etc/maven/fragments/maven-resources-plugin
maven-resources-plugin.src: W: invalid-url Source0: maven-resources-plugin-2.2.tar.gz

Not a problem. 

OK: The package must be named according to the Package Naming Guidelines .
OK: The spec file name must match the base package %{name}, in the format
%{name}.spec unless your package has an exemption. 
OK: The package must meet the Packaging Guidelines .
OK: The package must be licensed with a Fedora approved license and meet the
Licensing Guidelines .
OK: The License field in the package spec file must match the actual license. 
OK: The spec file must be written in American English.
OK: The spec file for the package MUST be legible. 
OK: The sources used to build the package must match the upstream source, as
provided in the spec URL.
OK: The package MUST successfully compile and build into binary rpms on at
least one primary architecture.
OK: 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: Packages must NOT bundle copies of system libraries.
OK: A package must own all directories that it creates. 
OK: A Fedora package must not list a file more than once in the spec file's
%files listings. 
OK: Permissions on files must be set properly. 
OK: Each package must consistently use macros.
OK: The package must contain code, or permissable content. 
OK: Large documentation files must go in a -doc subpackage. Javadocs
subpackage.
OK: If a package includes something as %doc, it must not affect the runtime of
the application. 
OK: Packages must not own files or directories already owned by other
packages. 
OK: All filenames in rpm packages must be valid UTF-8.

One small problem only:
install -pm 644 pom.xml \
    %{buildroot}%{_mavenpomdir}/JPP.%{name}.pom 
should be
install -pm 644 pom.xml \
    %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom

This is needed for proper finding of the pom.

Comment 4 huwang 2010-05-17 15:21:46 UTC
(In reply to comment #3)
> Review:
> 
> OK: rpmlint must be run on every package. OUTPUT:
> maven-resources-plugin.noarch: W: no-documentation
> maven-resources-plugin.noarch: W: non-conffile-in-etc
> /etc/maven/fragments/maven-resources-plugin
> maven-resources-plugin.src: W: invalid-url Source0:
> maven-resources-plugin-2.2.tar.gz
> 
> Not a problem. 
> 
> OK: The package must be named according to the Package Naming Guidelines .
> OK: The spec file name must match the base package %{name}, in the format
> %{name}.spec unless your package has an exemption. 
> OK: The package must meet the Packaging Guidelines .
> OK: The package must be licensed with a Fedora approved license and meet the
> Licensing Guidelines .
> OK: The License field in the package spec file must match the actual license. 
> OK: The spec file must be written in American English.
> OK: The spec file for the package MUST be legible. 
> OK: The sources used to build the package must match the upstream source, as
> provided in the spec URL.
> OK: The package MUST successfully compile and build into binary rpms on at
> least one primary architecture.
> OK: 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: Packages must NOT bundle copies of system libraries.
> OK: A package must own all directories that it creates. 
> OK: A Fedora package must not list a file more than once in the spec file's
> %files listings. 
> OK: Permissions on files must be set properly. 
> OK: Each package must consistently use macros.
> OK: The package must contain code, or permissable content. 
> OK: Large documentation files must go in a -doc subpackage. Javadocs
> subpackage.
> OK: If a package includes something as %doc, it must not affect the runtime of
> the application. 
> OK: Packages must not own files or directories already owned by other
> packages. 
> OK: All filenames in rpm packages must be valid UTF-8.
> 
> One small problem only:
> install -pm 644 pom.xml \
>     %{buildroot}%{_mavenpomdir}/JPP.%{name}.pom 
> should be
> install -pm 644 pom.xml \
>     %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
> 
> This is needed for proper finding of the pom.    
Fixed.
Spec URL:
http://code.google.com/p/tobepackagemaintaner/downloads/detail?name=maven-resources-plugin.spec&can=2&q=#makechanges
SPRM URL:
http://code.google.com/p/tobepackagemaintaner/downloads/detail?name=maven-resources-plugin-2.2-2.src.rpm&can=2&q=#makechanges

Comment 5 Alexander Kurtakov 2010-05-17 15:33:28 UTC
Thanks,

This package is APPROVED.

Comment 6 huwang 2010-05-18 06:52:14 UTC
New Package CVS Request
=======================
Package Name: maven-resources-plugin
Short Description: Maven Resources Plugin
Owners: huwang
Branches: 
InitialCC: akurtakov,yyang,weli

Comment 7 Dennis Gilmore 2010-05-18 18:25:16 UTC
CVS Done

Comment 8 Alexander Kurtakov 2010-05-20 12:13:21 UTC
Koji build:
http://koji.fedoraproject.org/koji/buildinfo?buildID=174287


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