Bug 563479

Summary: Review Request: aduna-commons-text - Manipulate/transform/parse text in various ways
Product: [Fedora] Fedora Reporter: Mary Ellen Foster <mefoster>
Component: Package ReviewAssignee: Mat Booth <mat.booth>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, notting
Target Milestone: ---Flags: mat.booth: fedora-review+
tibbs: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: aduna-commons-text-2.6.0-3.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-14 13:39:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 561439    
Bug Blocks: 567951, 567952    

Description Mary Ellen Foster 2010-02-10 11:40:24 UTC
Spec URL: http://www.macs.hw.ac.uk/~mef3/soprano-sesame/aduna-commons-text.spec
SRPM URL: http://www.macs.hw.ac.uk/~mef3/soprano-sesame/aduna-commons-text-2.6.0-1.fc12.src.rpm

Description: Manipulate/transform/parse text in various ways

Comment 2 Mat Booth 2010-02-13 18:19:59 UTC
I will take this one.

Comment 3 Mat Booth 2010-02-14 12:50:34 UTC
Rpmlint shows:

aduna-commons-text.x86_64: W: no-documentation
aduna-commons-text.x86_64: W: non-conffile-in-etc /etc/maven/fragments/aduna-commons-text

But I'm not worried about that: Upstream does not seem to include a copy of the licence to use as documentation and the other warning is expected because of the maven dep-map fragment.

Overall, this is a very compliant package. The only thing I would suggest is to have something that ensures no pre-compiled classes are shipped in the source jar and used during the build. Not because that is the case with this package, but because it is good practice for Java packages in general.

Something like this in the %prep section would suffice[1]:

 find -name '*.class' -exec rm -f '{}' \;
 find -name '*.jar' -exec rm -f '{}' \;


[1] Taken from the template in the Java packaging guidelines: http://fedoraproject.org/wiki/Packaging:Java#ant_2

Comment 4 Mat Booth 2010-02-14 12:55:32 UTC
One more thing:

It is usual for sub-packages (i.e. the javadoc package) to have a fully versioned dependency on the main package:

 Requires:	%{name} = %{version}-%{release}

Comment 5 Mary Ellen Foster 2010-02-23 14:07:57 UTC
New version:
- Remove BuildRequirements that are pulled in by aduna-commons POM
- Require the main package in the javadoc

http://www.macs.hw.ac.uk/~mef3/soprano-sesame/aduna-commons-text.spec
http://www.macs.hw.ac.uk/~mef3/soprano-sesame/aduna-commons-text-2.6.0-3.fc12.src.rpm

Comment 6 Mat Booth 2010-02-23 20:01:40 UTC
Thanks for the easy review.

APPROVED

Comment 7 Mary Ellen Foster 2010-02-24 10:50:49 UTC
New Package CVS Request
=======================
Package Name: aduna-commons-text
Short Description: Manipulate/transform/parse text in various ways
Owners: mef
Branches: F-12
InitialCC:

Comment 8 Jason Tibbitts 2010-02-24 20:08:03 UTC
CVS done (by process-cvs-requests.py).

I added an F-13 branch as well, since that seems to have been left out.

Comment 9 Fedora Update System 2010-03-01 15:54:53 UTC
aduna-commons-text-2.6.0-3.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/aduna-commons-text-2.6.0-3.fc13

Comment 10 Fedora Update System 2010-03-03 01:48:27 UTC
aduna-commons-text-2.6.0-3.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update aduna-commons-text'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-3351

Comment 11 Fedora Update System 2010-03-14 13:39:16 UTC
aduna-commons-text-2.6.0-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.