Bug 668794 - Review Request: pgsphere -Spherical data types, functions, and operators for PostgreSQL
Summary: Review Request: pgsphere -Spherical data types, functions, and operators for ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-11 16:31 UTC by Sergio Pascual
Modified: 2011-07-03 08:52 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-03 08:52:47 UTC
Type: ---
Embargoed:
gwync: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Sergio Pascual 2011-01-11 16:31:03 UTC
Spec URL: http://sergiopr.fedorapeople.org/pgsphere.spec
SRPM URL: http://sergiopr.fedorapeople.org/pgsphere-1.1.1-1.fc14.src.rpm
Description: pgSphere is a server side module for PostgreSQL. It contains methods for working with spherical coordinates and objects. It also supports indexing of 
spherical objects.

Comment 1 Gwyn Ciesla 2011-06-30 15:36:17 UTC
- rpmlint checks return:

pgsphere.src: W: file-size-mismatch pgsphere-1.1.1.tar.gz = 449970, http://pgfoundry.org/frs/download.php/2281/pgsphere-1.1.1.tar.gz = 449945
The size of the file in the package does not match the size indicated by
peeking at its URL.  Verify that the file in the package has the intended
contents.

Fix or document.

Otherwise clean.

OK package meets naming guidelines
?? package meets packaging guidelines  The .sql file should be in %doc, not datadir.
OK license ( ) OK, text in %doc, matches source
OK spec file legible, in am. english
?? source matches upstream             No, see above. 
OK on x86_64 package compiles on devel (x86)
- no missing BR
- no unnecessary BR
OK no locales
OK not relocatable
OK owns all directories that it creates
OK no duplicate files
OK permissions ok
OK %clean ok
OK macro use consistent
OK code, not content
OK no need for -docs
OK nothing in %doc affects runtime
OK no need for .desktop file 


Mock build in progress to test BRs.

Comment 2 Gwyn Ciesla 2011-06-30 16:04:29 UTC
Mock build was good, BRs are as well.

So it's just the file size mismatch and .sql file placement.

Comment 3 Sergio Pascual 2011-06-30 16:52:05 UTC
Hi, thanks for the review.

I'm not sure that the sql file should be in docs. The file has to be loaded by postgresql to create the data types needed. There are quite a few sql files inside /usr/share already.

Comment 4 Gwyn Ciesla 2011-06-30 17:01:45 UTC
As long as it doesn't need customization by the installing admin, I suppose that's fine.  So just the size mismatch, then.

Comment 5 Volker Fröhlich 2011-06-30 21:43:06 UTC
-n %{name}-%{version} and the defattr line can be left out.

sparse.c: GPL 
sparse.h: GPL

Comment 6 Gwyn Ciesla 2011-07-01 12:08:35 UTC
(In reply to comment #5)
> -n %{name}-%{version} and the defattr line can be left out.
> 
> sparse.c: GPL 
> sparse.h: GPL

Good catch.

Comment 7 Sergio Pascual 2011-07-02 07:23:41 UTC
I have removed buildroot, %clean and %defattr

sparse.c and .h have an exception in its license 

As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

So I think these files are also under the license of the main package.

(Very good catch anyway)

New files:

http://guaix.fis.ucm.es/~spr/pgsphere.spec
http://guaix.fis.ucm.es/~spr/pgsphere-1.1.1-2.fc15.src.rpm

Comment 8 Gwyn Ciesla 2011-07-02 15:26:01 UTC
Ok, everything looks good now, thanks.

APPROVED.

Comment 9 Sergio Pascual 2011-07-02 20:46:14 UTC
New Package SCM Request
=======================
Package Name: pgsphere
Short Description: Spherical data types, functions and operators for PostgreSQL
Owners: sergiopr
Branches: F-15 F-14
InitialCC:

Comment 10 Gwyn Ciesla 2011-07-02 21:01:38 UTC
Git done (by process-git-requests).

Comment 11 Sergio Pascual 2011-07-03 08:52:47 UTC
Thanks everyone!


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