Bug 1109049 - Review Request: libcsv - small, simple and fast CSV library
Summary: Review Request: libcsv - small, simple and fast CSV library
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: 2014-06-13 07:16 UTC by Jan Holcapek
Modified: 2015-05-02 19:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-02 19:49:46 UTC
Type: ---
Embargoed:
lkundrak: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Jan Holcapek 2014-06-13 07:16:58 UTC
Spec URL: https://raw.githubusercontent.com/holcapek/libcsv-rpm/master/libcsv.spec
SRPM URL: https://github.com/holcapek/libcsv-rpm/raw/master/libcsv-3.0.3-1.fc20.src.rpm
Description: libcsv is a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data. It provides a straight-forward interface using callback functions to handle parsed fields and rows and can parse improperly formatted CSV files.
Fedora Account System Username: holcapek

Comment 1 Jan Holcapek 2014-06-13 07:21:35 UTC
$ rpmlint libcsv.spec ~/rpmbuild/SRPMS/libcsv-3.0.3-1.fc20.src.rpm ~/rpmbuild/RPMS/x86_64/libcsv{,-devel}-3.0.3-1.fc20.x86_64.rpm
3 packages and 1 specfiles checked; 0 errors, 0 warnings.

Comment 2 Lubomir Rintel 2014-06-13 08:08:49 UTC
This looks very nicely done.

* Package correctly named
* Latest version packaged
- License NOT correct (see below)
* License ok for Fedora
* SPEC file clean and legible
* Builds fine in mock
* Requires fine
* Provides fine
* Filelist fine
* Proper ldconfig scriptlets in place

There are some problems though:

0.) The license tag does not seem correct

According to libcsv.c it's LGPLv2+

1.) License text is missing

Please add %doc COPYING.LESSER. No idea why upstream ships GPL in COPYING; nothing seems to be GPL-ed in the library; no need to ship that file.

2.) It's customary for RPMs to be portable across installations with manpage compression turned off to do this:

-%doc %{_mandir}/man3/csv.3.gz
+%doc %{_mandir}/man3/csv.3*

3.) You may use %{version} macro to substitute versions for easier version upgrades. This one is completely up to you -- not a review blocker.

By the way, upstream seems to use a weird name for their library; they probably intended to use libcsv.so.3.0.3 instead of libcsv.so.3.0.2./csv.3.gz

Comment 3 Jan Holcapek 2014-06-16 07:11:50 UTC
(In reply to Lubomir Rintel from comment #2)
> 0.) The license tag does not seem correct
> 
> According to libcsv.c it's LGPLv2+
> 
> 1.) License text is missing
> 
> Please add %doc COPYING.LESSER. No idea why upstream ships GPL in COPYING;
> nothing seems to be GPL-ed in the library; no need to ship that file.

Fixed.

> 2.) It's customary for RPMs to be portable across installations with manpage
> compression turned off to do this:
> 
> -%doc %{_mandir}/man3/csv.3.gz
> +%doc %{_mandir}/man3/csv.3*

Fixed.
 
> 3.) You may use %{version} macro to substitute versions for easier version
> upgrades. This one is completely up to you -- not a review blocker.

Followed the advice.

> By the way, upstream seems to use a weird name for their library; they
> probably intended to use libcsv.so.3.0.3 instead of libcsv.so.3.0.2./csv.3.gz

This is yet to be addressed, thanks for your patience.

Comment 4 Jan Holcapek 2014-06-16 09:03:10 UTC
(In reply to Jan Holcapek from comment #3)
> > By the way, upstream seems to use a weird name for their library; they
> > probably intended to use libcsv.so.3.0.3 instead of libcsv.so.3.0.2./csv.3.gz
> 
> This is yet to be addressed, thanks for your patience.

Looks like I've been able to fix this. Could you please re-review the spec and srpm? Thank you.

Comment 5 Lubomir Rintel 2014-06-16 12:34:48 UTC
Thank you.

The package is APPROVED now.

Comment 6 Jan Holcapek 2014-06-16 13:07:07 UTC
New Package SCM Request
=======================
Package Name: libcsv
Short Description: small, simple and fast CSV library
Upstream URL: http://sourceforge.net/projects/libcsv/
Owners: holcapek
Branches: f19 f20 el6 epel7 
InitialCC: lkundrak

Comment 7 Jan Holcapek 2014-06-16 13:08:41 UTC
I've accidentally switched fedore-review flag back to ?, so switching again to +.

Comment 8 Kevin Fenzi 2014-06-18 16:28:13 UTC
Git done (by process-git-requests).


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