Bug 225207 - Review Request: libsmbios - library for userspace smbios table parsing
Review Request: libsmbios - library for userspace smbios table parsing
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: Package Review (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matt Domsch
Fedora Package Reviews List
:
Depends On:
Blocks: FE-ACCEPT
  Show dependency treegraph
 
Reported: 2007-01-29 14:30 EST by Michael E Brown
Modified: 2007-11-30 17:11 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-23 18:15:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
matt_domsch: fedora‑review+
wtogami: fedora‑cvs+


Attachments (Terms of Use)
rpmlint results (60.12 KB, application/octet-stream)
2007-02-05 22:53 EST, Matt Domsch
no flags Details

  None (edit)
Description Michael E Brown 2007-01-29 14:30:58 EST
Spec URL: http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-0.13.0/libsmbios.spec  

SRPM URL: http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-0.13.0/libsmbios-0.13.0-1.fc6.src.rpm

Description: 
This is my first package and I am seeking a sponsor.

Libsmbios is a library and utilites that can be used by client programs to get information from standard BIOS tables, such as the SMBIOS table.

Currently, libsmbios is required by the HAL module for backlight control on Dell Laptops.
Comment 1 Matt Domsch 2007-02-05 12:33:50 EST
I'll sponsor Michael.
Comment 2 Matt Domsch 2007-02-05 22:53:44 EST
Created attachment 147432 [details]
rpmlint results


MUST:
* name good
* spec name good
* license good
* license matches
* licenses are in %doc for all subpackages
* spec is English
* spec is legible
* sources match
* package builds on mock for i386 and x86_64 at least, didn't try ia64
* comment present for ExclusiveArch
* BRs OK
* no locales used
* ldconfig used in %post and %postun properly
* not relocatable
* package owns its directories
* no duplicate files
* defattr present for each subpackage
* %clean ok
* consistent use of macros
* packages contain code, not content
* extra docs not presently being built, will be in -devel when they
  are.	No need for a -doc subpackage.
* nothing in %doc needed at runtime
* headers and static libs in -devel package
* no .pc files
* -devel has the unversioned lib*.so files
* -devel properly requires name = %{version}-%{release}
* no GUI -> no .desktop
* no directory ownership problems

SHOULD:
* source includes licenses
* string translations not available
* package builds in mock
* package builds on all supported arches
* package runs as expected
* scriptlets sane
* subpackages properly Require parent
* no pkgconfig files

Packaging Guidelines
* changelog ok
* tags ok
* buildroot ok
* summary and descriptions ok
* encoding ok
* docs ok
* optflags ok
* no static linked bins
* no system lib duplication
* no rpath
* no config files
* no desktop files
* consistent macros
* no %makeinstall
* no locale
* cp -a used
* smp_mflags used
* scriptlets ok

You can ignore the rpmlint error about missing the ldconfig symlink,
as it's present in the -devel package as PackagingGuidelines require.

Bugs:
* Docs permissions are 755, not 644
* source files, thus /usr/src/debug/* are 755, not 644
* package includes *.la files, need to be rm'd in %install and not
installed in %files.
* Obsoletes, but doesn't Provide, a couple packages
* -libs Summary ends with a .
* -devel %doc should include additional licenses of boost (boost
  1.0, which is GPL-compatible)
* add getopts (3-clause BSD) license to all %docs
* add a MANIFEST in %doc noting which parts are covered by which
license.
* trivial rpmlint cleanups for spelling and the like


APPROVED with the above trivial fixes
Comment 3 Peter Gordon 2007-02-08 00:22:49 EST
Also, just a minor comment: The ExclusiveArch only has i386, which means that if
a user tried to build it on an i686 system it would fail, for example. It is
likely better to use %{ix86} here (which expands via RPM to the list of 'i386
i486 i586 i686'). Thanks.
Comment 4 Michael E Brown 2007-02-08 14:39:30 EST
Changes included in libsmbios 0.10.2. Will post new spec/srpm shortly and update
bugzilla.

- Fixed ExlusiveArch %{ix86}

- fixed permissions
- removed *.la files
- added Provides: for Obsoletes:
- fixed -libs summary
- added boost license file to -devel
- added getopts license to all %docs
- fixed speling erors
Comment 6 Matt Domsch 2007-02-15 13:46:21 EST
Looks good, thanks for making those changes.  APPROVED.
Comment 7 Michael E Brown 2007-02-23 08:24:44 EST
New Package CVS Request
=======================
Package Name: libsmbios
Short Description: Library for accessing BIOS information tables
Owners: mebrown@michaels-house.net,matt_domsch@dell.com
Branches: devel
InitialCC: michael_e_brown@dell.com
Comment 8 Warren Togami 2007-02-23 13:52:56 EST
By the newly ratified process, please keep the reviewer assigned both durnig and
after the review.
Comment 9 Michael E Brown 2007-03-13 13:46:51 EDT
Request CVS Branches for:
  FC-6
  EPEL-4
  EPEL-5

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