Bug 429703 - Review Request: xenner - Xen emulator for kvm
Summary: Review Request: xenner - Xen emulator for kvm
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-22 15:19 UTC by Gerd Hoffmann
Modified: 2008-04-02 14:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-02 14:15:57 UTC
Type: ---
Embargoed:
berrange: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Gerd Hoffmann 2008-01-22 15:19:03 UTC
Spec URL: http://kraxel.fedorapeople.org/xenner/xenner.spec
SRPM URL: http://kraxel.fedorapeople.org/xenner/xenner-0.22-1.fc8.src.rpm
Description:
  xenner is a utility which is able to boot xen paravirtualized
  kernels, without the xen hypervisor, using kvm instead.

Comment 1 Daniel Berrangé 2008-01-22 18:27:08 UTC
MUST: rpmlint must be run on every package.

 $ rpmlint  xenner-0.22-1.fc9.src.rpm
 $ rpmlint  xenner-0.22-1.fc9.x86_64.rpm
 xenner.x86_64: W: spurious-executable-perm /usr/share/doc/xenner-0.22/vivm

 Just a convenient example script - ignore warning.

 OK

MUST: The package must be named according to the Package Naming Guidelines.

 OK

MUST: The spec file name must match the base package %{name}

 OK

MUST: The package must meet the Packaging Guidelines.

 OK

MUST: The package must be licensed with a Fedora approved license and meet the
Licensing Guidelines.

 OK

MUST: The License field in the package spec file must match the actual license.

 OK

MUST: If (and only if) the source package includes the text of the license(s) in
its own file, then that file, containing the text of the license(s) for the
package must be included in %doc.

 OK

MUST: The spec file must be written in American English.

 OK

MUST: The spec file for the package MUST be legible.

 OK

MUST: The sources used to build the package must match the upstream source

  $ md5sum  xenner-0.22.tar.gz 
  d4fee3cbdc7e6102e13a0316742f22ab  xenner-0.22.tar.gz

 OK

MUST: The package must successfully compile and build into binary rpms on at
least one supported architecture.

 OK  x86_64 rawhide

MUST: If the package does not successfully compile, build or work on an
architecture, then those architectures should be listed in the spec in ExcludeArch.

 FAIL

  Needs to have:

    ExclusiveArch: i386 i686 x86_64

  Since it depends on Xen, which only builds on those archs

MUST: All build dependencies must be listed in BuildRequires

 OK

MUST: The spec file MUST handle locales properly

 OK

MUST: Every binary RPM package which stores shared library files (not just
symlinks) in any of the dynamic linker's default paths, must call ldconfig in
%post and %postun.

 OK

MUST: If the package is designed to be relocatable, the packager must state this
fact in the request for review

 N/A

MUST: A package must own all directories that it creates.

 FAIL

 Should use

   %dir %{_libdir}/xenner
   %{_libdir}/xenner/*


MUST: A package must not contain any duplicate files in the %files listing.

  OK

MUST: Permissions on files must be set properly.

  OK

MUST: Each package must have a %clean section

  OK

MUST: Each package must consistently use macros

  OK

MUST: The package must contain code, or permissable content

  OK

MUST: Large documentation files should go in a -doc subpackage

  OK

MUST: If a package includes something as %doc, it must not affect the runtime of
the application

  OK

MUST: Header files must be in a -devel package.

  N/A

MUST: Static libraries must be in a -static package.

  N/A

MUST: Packages containing pkgconfig(.pc) files must 'Requires: pkgconfig'

  N/A

MUST: If a package contains library files with a suffix (e.g. libfoo.so.1.1),
then library files that end in .so (without suffix) must go in a -devel package.

  N/A

MUST: In the vast majority of cases, devel packages must require the base
package using a fully versioned dependency

  N/A

MUST: Packages must NOT contain any .la libtool archives

  OK

MUST: Packages containing GUI applications must include a %{name}.desktop file

  N/A

MUST: Packages must not own files or directories already owned by other packages

  OK

MUST: At the beginning of %install, each package MUST run rm -rf %{buildroot}

  OK

MUST: All filenames in rpm packages must be valid UTF-8.

  OK

SHOULD: If the source package does not include license text(s) as a separate
file from upstream, the packager SHOULD query upstream to include it.

  N/A

SHOULD: The description and summary sections in the package spec file should
contain translations for supported Non-English languages, if available.

  OK

SHOULD: The reviewer should test that the package builds in mock.

  OK  fedora x86_64 rawhide

SHOULD: The package should compile and build into binary rpms on all supported
architectures.

  OK  x86_64 + i6868

SHOULD: The reviewer should test that the package functions as described.

  Not tested

SHOULD: If scriptlets are used, those scriptlets must be sane.

  FAIL.

  The chkconfig script %preun need to be wrapped  in a conditional to handle
upgrades/downgrades correctly

  if [ $1 = 0 ]; then
    /sbin/chkconfig --del xenner
  fi

SHOULD: Usually, subpackages other than devel should require the base package
using a fully versioned dependency.

  N/A

SHOULD: The placement of pkgconfig(.pc) files depends on their usecase, and this
is usually for development purposes, so should be placed in a -devel pkg.

  N/A

SHOULD: If the package has file dependencies outside of /etc, /bin, /sbin,
/usr/bin, or /usr/sbin consider requiring the package which provides the file
instead of the file itself.

  N/A



In summary, need to fix:

  - ExclusiveArch
  - %dir in files list
  - %preun script




Comment 2 Daniel Berrangé 2008-01-22 18:31:06 UTC
Oh, and please expand the %{?dist}  macro in changelog entries.


Comment 3 Gerd Hoffmann 2008-01-23 10:44:24 UTC
Revision #2 uploaded to http://kraxel.fedorapeople.org/xenner/

Comment 4 Daniel Berrangé 2008-01-23 15:24:08 UTC
The changelogs should say 'fc9' for dist going into rawhide. 

Anyway, all review points addressed => APPROVED.


Comment 5 Bill Nottingham 2008-01-23 15:44:46 UTC
Why does this need kernel-devel to build? It's not building modules.



Comment 6 Gerd Hoffmann 2008-01-23 17:10:12 UTC
kernel-devel isn't needed, dropped, new package uploading.
Hmm, except that I can't reach fedorapeople.org right now.
To be uploaded soon ...

Comment 7 Gerd Hoffmann 2008-01-23 17:14:32 UTC
New Package CVS Request
=======================
Package Name: xenner
Short Description: Xen emulator for kvm
Owners: kraxel,berrange
Branches: F-8
InitialCC: 
Cvsextras Commits: yes

Comment 8 Kevin Fenzi 2008-01-23 18:48:51 UTC
cvs done.

Comment 9 Jonathan Underwood 2008-04-02 14:12:12 UTC
Gerd - I see this has been imported and built in rawhide - please can you close
the bug as NEXTRELEASE as described in the packaging guidelines.

Comment 10 Daniel Berrangé 2008-04-02 14:15:57 UTC
Closing, since Gerd is away currently.


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