Bug 545132 - Review Request: yajl - Yet Another JSON Library
Summary: Review Request: yajl - Yet Another JSON Library
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-07 17:50 UTC by Daniel Berrangé
Modified: 2009-12-10 00:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-10 00:25:37 UTC
Type: ---
Embargoed:
rjones: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Daniel Berrangé 2009-12-07 17:50:46 UTC
Spec URL: http://berrange.fedorapeople.org/review/yajl.spec
SRPM URL: http://berrange.fedorapeople.org/review/yajl-1.0.7-1.fc12.src.rpm
Description: 
Yet Another JSON Library. YAJL is a small event-driven
(SAX-style) JSON parser written in ANSI C, and a small
validating JSON generator.

Comment 1 Daniel Berrangé 2009-12-07 17:51:55 UTC
RPMLint from a Fedora 12 i686 host

$ rpmlint  yajl.spec
0 packages and 1 specfiles checked; 0 errors, 0 warnings.
$ rpmlint /home/berrange/rpm/SRPMS/yajl-1.0.7-1.fc12.src.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
$ rpmlint /home/berrange/rpm/RPMS/i686/yajl-1.0.7-1.fc12.i686.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
$ rpmlint /home/berrange/rpm/RPMS/i686/yajl-devel-1.0.7-1.fc12.i686.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

And a scratch build passes on all architectures

http://koji.fedoraproject.org/koji/taskinfo?taskID=1860375

Comment 2 Richard W.M. Jones 2009-12-08 10:13:37 UTC
+ rpmlint output
  (no errors or warnings)
+ package name satisfies the packaging naming guidelines
+ specfile name matches the package base name
+ package should satisfy packaging guidelines
+ license meets guidelines and is acceptable to Fedora
  3 clause, new BSD, no advertising
+ license matches the actual package license
+ %doc includes license file
+ spec file written in American English
+ spec file is legible
+ upstream sources match sources in the srpm
+ package successfully builds on at least one architecture
  built in Koji
n/a ExcludeArch bugs filed
+ BuildRequires list all build dependencies
n/a %find_lang instead of %{_datadir}/locale/*
+ binary RPM with shared library files must call ldconfig in %post and %postun
+ does not use Prefix: /usr
+ package owns all directories it creates
  /usr/include/yajl
+ no duplicate files in %files
+ %defattr line
+ %clean contains rm -rf $RPM_BUILD_ROOT
+ consistent use of macros
+ package must contain code or permissible content
n/a large documentation files should go in -doc subpackage
+ files marked %doc should not affect package
  COPYING ChangeLog README TODO
+ header files should be in -devel
n/a static libraries should be in -static
+ libfoo.so must go in -devel
+ -devel must require the fully versioned base
+ packages should not contain libtool .la files
n/a packages containing GUI apps must include %{name}.desktop file
+ packages must not own files or directories owned by other packages
+ %install must start with rm -rf %{buildroot} etc.
+ filenames must be valid UTF-8
- use %global instead of %define

Optional:

n/a if there is no license file, packager should query upstream
n/a translations of description and summary for non-English languages, if available
+ reviewer should build the package in mock
+ the package should build into binary RPMs on all supported architectures
- review should test the package functions as described
+ scriptlets should be sane
n/a pkgconfig files should go in -devel
+ shouldn't have file dependencies outside /etc /bin /sbin /usr/bin or /usr/sbin

---------

Please change %define githash ... to %global githash ...  Apart from
that, the package looks OK.

Comment 4 Richard W.M. Jones 2009-12-08 14:34:09 UTC
APPROVED by rjones.

Comment 5 Daniel Berrangé 2009-12-08 16:04:09 UTC
New Package CVS Request
=======================
Package Name: yajl
Short Description: Yet Another JSON Library
Owners: berrange
Branches: F-12
InitialCC: virtmaint

Comment 6 Kevin Fenzi 2009-12-09 17:50:09 UTC
cvs done.

Comment 7 Daniel Berrangé 2009-12-10 00:25:37 UTC
Built into rawhide


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