Bug 541589 - Review Request: sqljet - Pure Java SQLite
Summary: Review Request: sqljet - Pure Java SQLite
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-26 12:34 UTC by Alexander Kurtakov
Modified: 2009-12-03 11:09 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-03 11:09:11 UTC
Type: ---
Embargoed:
lkundrak: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Alexander Kurtakov 2009-11-26 12:34:24 UTC
Spec URL: http://akurtakov.fedorapeople.org/sqljet.spec
SRPM URL: http://akurtakov.fedorapeople.org/sqljet-1.0.1-1.fc12.src.rpm
Description: SQLJet is an independent pure Java implementation of a popular SQLite database
management system. SQLJet is a software library that provides API that enables
Java application to read and modify SQLite databases.

Comment 1 Lubomir Rintel 2009-11-26 20:53:45 UTC
0.) The -javadoc subpackage should requires jpackage-utils
...that owns %_javadocdir

1.) Does not build
you probably meant to add junit4 to the classpath

2.) You don't use macros consistently
please use either $RPM_BUILD_ROOT or %{buildroot} macro but not both

The rest is just matter of clean style. Just for your considerations, probably nothing that would block the review:

You can do this in one shot, without calling rm:
-find -name '*.class' -exec rm -f '{}' \;
-find -name '*.jar' -exec rm -f '{}' \;
+find \( -name '*.class' -o -name '*.jar' \) -delete

Comment 2 Lubomir Rintel 2009-11-26 21:03:32 UTC
3.) You do not run the test suite
Please do so, ideally in %check section. Seems like you'd need to add a dependency on hamcrest.

I'd also suggest replacing Summary with something more descriptive, (i.e. adding "database library" at the end or something like that).

The rest looks well
* Named and versioned in accordance with guidelines
* License ok, license tag correct, license present in package documentation
* spec file clean and legible
* filelist sane

Comment 3 Alexander Kurtakov 2009-11-30 12:38:51 UTC
(In reply to comment #1)
> 0.) The -javadoc subpackage should requires jpackage-utils
> ...that owns %_javadocdir
Fixed.

> 
> 1.) Does not build
> you probably meant to add junit4 to the classpath
Fixed.
> 
> 2.) You don't use macros consistently
> please use either $RPM_BUILD_ROOT or %{buildroot} macro but not both
Fixed.

> 
> The rest is just matter of clean style. Just for your considerations, probably
> nothing that would block the review:
> 
> You can do this in one shot, without calling rm:
> -find -name '*.class' -exec rm -f '{}' \;
> -find -name '*.jar' -exec rm -f '{}' \;
> +find \( -name '*.class' -o -name '*.jar' \) -delete  
Fixed. 

(In reply to comment #2)
> 3.) You do not run the test suite
> Please do so, ideally in %check section. Seems like you'd need to add a
> dependency on hamcrest.
Test suite is failing for me and upstream build is a nightmare. I've submitted a few issues about that but no response yet. Hopefully this is not a blocker.

> 
> I'd also suggest replacing Summary with something more descriptive, (i.e.
> adding "database library" at the end or something like that).
Hmm, I'm not sure I understand what you want. I picked the first paragraph of sqljet.com assuming upstream devs will describe their work best.

> 
> The rest looks well
> * Named and versioned in accordance with guidelines
> * License ok, license tag correct, license present in package documentation
> * spec file clean and legible
> * filelist sane  

New package:
Spec URL: http://akurtakov.fedorapeople.org/sqljet.spec
SRPM URL: http://akurtakov.fedorapeople.org/sqljet-1.0.1-2.fc12.src.rpm

Koji build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1837449

Comment 4 Lubomir Rintel 2009-11-30 13:02:30 UTC
Thanks for the fixes.

(In reply to comment #3)

> (In reply to comment #2)
> > 3.) You do not run the test suite
> > Please do so, ideally in %check section. Seems like you'd need to add a
> > dependency on hamcrest.
> Test suite is failing for me and upstream build is a nightmare. I've submitted
> a few issues about that but no response yet. Hopefully this is not a blocker.

Sounds fair.

> > I'd also suggest replacing Summary with something more descriptive, (i.e.
> > adding "database library" at the end or something like that).
> Hmm, I'm not sure I understand what you want. I picked the first paragraph of
> sqljet.com assuming upstream devs will describe their work best.

That was just a suggestion, feel free to keep your Summary if you feel it's better; definitely not a blocker or anything.

APPROVED.

Comment 5 Alexander Kurtakov 2009-11-30 13:20:36 UTC
Thanks for the review.

New Package CVS Request
=======================
Package Name: sqljet
Short Description: Pure Java SQLite
Owners: akurtakov
Branches: 
InitialCC:

Comment 6 Kevin Fenzi 2009-12-03 06:37:48 UTC
cvs done.

Comment 7 Alexander Kurtakov 2009-12-03 11:09:11 UTC
http://koji.fedoraproject.org/koji/buildinfo?buildID=144190


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