Bug 596074

Summary: Review Request: multithreadedtc - A framework for testing concurrent Java application
Product: [Fedora] Fedora Reporter: huwang <huwang>
Component: Package ReviewAssignee: Alexander Kurtakov <akurtako>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: akurtako, fedora-package-review, notting
Target Milestone: ---Flags: akurtako: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-01 16:20:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description huwang 2010-05-26 09:29:21 UTC
Spec URL: http://huwang.fedorapeople.org/packages/multithreadedtc/multithreadedtc.spec
SRPM URL: http://huwang.fedorapeople.org/packages/multithreadedtc/multithreadedtc-1.0.1-1.src.rpm
Description: MultithreadedTC is a framework for testing concurrent applications. 
It features a metronome that is used to provide fine control over the sequence of activities in multiple threads.

Comment 1 huwang 2010-05-26 09:36:10 UTC
Notes:
- Built in koji with dist-f14-maven221 target, the link is http://koji.fedoraproject.org/koji/taskinfo?taskID=2210222

- Adding build.patch that remove retrotranslator dependency and pom, the package link is http://huwang.fedorapeople.org/packages/multithreadedtc

Comment 2 huwang 2010-05-26 09:55:46 UTC
I rebuild this package in koji with dist-f14-maven221 target, here is the link: http://koji.fedoraproject.org/koji/taskinfo?taskID=2210261

Comment 3 Alexander Kurtakov 2010-05-26 11:15:53 UTC
Please add a depmap for multithreadedtc-jdk14 to point to the multithreadedtc jar.

Comment 4 Alexander Kurtakov 2010-05-26 15:09:27 UTC
I'll take this one.

Comment 5 Alexander Kurtakov 2010-05-26 15:26:31 UTC
* Why don't you use upstream tarball http://multithreadedtc.googlecode.com/files/MultithreadedTC-1.01-source.zip ? Please use it.
Note that you'll have to remove the jars from it.

* You're missing 
Requires: jpackage-utils
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
They are needed because you invoke update_maven_depmap

* You're missing 
Requires:       jpackage-utils 
for the javadoc subpackage

* Please remove  ls -lR from install section

* Please fix the following rpmlint warnings:
multithreadedtc.noarch: E: description-line-too-long C It features a metronome that is used to provide fine control over the sequence of activities in multiple threads.

Fix line length

multithreadedtc.noarch: W: no-documentation

You should include LICENSE.txt and README.txt as %doc 

multithreadedtc-javadoc.noarch: W: wrong-file-end-of-line-encoding /usr/share/javadoc/multithreadedtc-1.0.1/package-list
multithreadedtc-javadoc.noarch: W: wrong-file-end-of-line-encoding /usr/share/javadoc/multithreadedtc-1.0.1/stylesheet.css

You should fix these by doing sed -i 's/\r//' <file_to_strip>  for both of them in the %prep section.

Comment 6 huwang 2010-05-27 07:49:07 UTC
(In reply to comment #5)
> * Why don't you use upstream tarball
> http://multithreadedtc.googlecode.com/files/MultithreadedTC-1.01-source.zip ?
> Please use it.
> Note that you'll have to remove the jars from it.
> 
> * You're missing 
> Requires: jpackage-utils
> Requires(post): jpackage-utils
> Requires(postun): jpackage-utils
> They are needed because you invoke update_maven_depmap
> 
> * You're missing 
> Requires:       jpackage-utils 
> for the javadoc subpackage
> 
> * Please remove  ls -lR from install section
> 
> * Please fix the following rpmlint warnings:
> multithreadedtc.noarch: E: description-line-too-long C It features a metronome
> that is used to provide fine control over the sequence of activities in
> multiple threads.
> 
> Fix line length
> 
> multithreadedtc.noarch: W: no-documentation
> 
> You should include LICENSE.txt and README.txt as %doc 
> 
> multithreadedtc-javadoc.noarch: W: wrong-file-end-of-line-encoding
> /usr/share/javadoc/multithreadedtc-1.0.1/package-list
> multithreadedtc-javadoc.noarch: W: wrong-file-end-of-line-encoding
> /usr/share/javadoc/multithreadedtc-1.0.1/stylesheet.css
> 
> You should fix these by doing sed -i 's/\r//' <file_to_strip>  for both of them
> in the %prep section.    

Fixed all, please review again, thanks.

Spec URL: http://huwang.fedorapeople.org/packages/multithreadedtc/multithreadedtc.spec
SRPM URL: http://huwang.fedorapeople.org/packages/multithreadedtc/multithreadedtc-1.01-2.src.rpm
package link : http://huwang.fedorapeople.org/packages/multithreadedtc 

Here is the scratch built in koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=2212150

Comment 9 Alexander Kurtakov 2010-05-27 09:53:39 UTC
Review:

FIXIT: rpmlint must be run on every package. Output:
multithreadedtc.noarch: W: spelling-error Summary(en_US) concuurent -> concurrent, concurrency, concurrence
multithreadedtc.noarch: W: non-conffile-in-etc /etc/maven/fragments/multithreadedtc

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: 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 must be included in %doc.
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. If it does not create a
directory that it uses, then it should require a package which does create that
directory. 
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. Executables should be set
with executable permissions, for example. Every %files section must include a
%defattr(...) line. 
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. 
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. 

This package is APPROVED.

Comment 10 huwang 2010-05-27 10:01:47 UTC
New Package CVS Request
=======================
Package Name: multithreadedtc
Short Description: A framework for testing concurent Java application
Owners: huwang
Branches: 
InitialCC:

Comment 11 huwang 2010-05-27 10:09:18 UTC
Sorry, make a mistake in Comment 10, please ignore it.

New Package CVS Request
=======================
Package Name: multithreadedtc
Short Description: A framework for testing concurrent Java application
Owners: huwang
Branches: 
InitialCC:

Comment 12 Alexander Kurtakov 2010-05-28 13:10:25 UTC
You have to put the fedora-cvs flag.

Comment 13 Kevin Fenzi 2010-05-31 19:23:47 UTC
CVS done (by process-cvs-requests.py).