Bug 644259 - Review Request: virt-what - detect if we are running in a virtual machine
Summary: Review Request: virt-what - detect if we are running in a virtual machine
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-19 09:18 UTC by Richard W.M. Jones
Modified: 2013-01-09 23:15 UTC (History)
7 users (show)

Fixed In Version: virt-what-1.3-3.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 12:24:20 UTC
Type: ---
Embargoed:
panemade: fedora-review+
petersen: fedora-cvs+


Attachments (Terms of Use)

Description Richard W.M. Jones 2010-10-19 09:18:42 UTC
Spec URL: http://www.annexia.org/tmp/virt-what.spec
SRPM URL: http://www.annexia.org/tmp/virt-what-1.3-1.fc14.src.rpm
Description:

Virt-what detects various types of virtualization, including
KVM, Xen, unaccelerated QEMU, VMWare, UML, VirtualBox, VirtualPC,
OpenVZ.

http://people.redhat.com/~rjones/virt-what/

Koji scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2542489

rpmlint is silent.

Comment 1 Parag AN(पराग) 2010-10-19 09:58:18 UTC
Few suggestions:
1) as per latest packaging guidelines, if new package is supposed to be built on F13 and above then buildroot tag, %clean section and removal of buildroot in %install can be dropped.

See https://fedoraproject.org/wiki/PackagingGuidelines#BuildRoot_tag and https://fedoraproject.org/wiki/PackagingGuidelines#.25clean

2) No need of prefix in make install

3) Good if you will add some comment above Requires: about why these explicit requires are needed for this package.

4) Looks BR: pod2man is not needed. See successful koji build without it
http://koji.fedoraproject.org/koji/taskinfo?taskID=2542583

APPROVED.

Comment 2 Richard W.M. Jones 2010-10-19 10:11:34 UTC
(In reply to comment #1)

Thanks for the quick review!

> Few suggestions:
> 1) as per latest packaging guidelines, if new package is supposed to be built
> on F13 and above then buildroot tag, %clean section and removal of buildroot in
> %install can be dropped.
> 
> See https://fedoraproject.org/wiki/PackagingGuidelines#BuildRoot_tag and
> https://fedoraproject.org/wiki/PackagingGuidelines#.25clean

Right.  I will drop these when I add it to Fedora, but keep them
for RHEL 5.

> 2) No need of prefix in make install

Indeed, not sure how that crept in ...

> 3) Good if you will add some comment above Requires: about why these explicit
> requires are needed for this package.

The shell script requires them, and I'm assuming that RPM
cannot detect that.  I will add a comment as suggested.

> 4) Looks BR: pod2man is not needed. See successful koji build without it
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2542583

OK so pod2man is part of the default buildroot.  I don't know
if it's a good idea to depend on that?  Seems like it could
change in future and break the package, so an explicit BR is
a good idea ...

Comment 3 Richard W.M. Jones 2010-10-19 10:17:38 UTC
New Package SCM Request
=======================
Package Name: virt-what
Short Description: detect if we are running in a virtual machine
Owners: rjones mbooth
Branches: f13 f14
InitialCC:

Comment 4 Richard W.M. Jones 2010-10-19 10:19:11 UTC
Zaagghhhh wrong person.  Ignore comment 3, this is correct:

New Package SCM Request
=======================
Package Name: virt-what
Short Description: detect if we are running in a virtual machine
Owners: rjones mdbooth
Branches: f13 f14
InitialCC:

Comment 5 Richard W.M. Jones 2010-10-19 10:20:31 UTC
While we're making changes, let's add virtmaint too:

New Package SCM Request
=======================
Package Name: virt-what
Short Description: detect if we are running in a virtual machine
Owners: rjones mdbooth virtmaint
Branches: f13 f14
InitialCC:

Comment 6 Parag AN(पराग) 2010-10-19 10:29:06 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > 4) Looks BR: pod2man is not needed. See successful koji build without it
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=2542583
> 
> OK so pod2man is part of the default buildroot.  I don't know
> if it's a good idea to depend on that?  Seems like it could
> change in future and break the package, so an explicit BR is
> a good idea ...

Even perl packageing don't recommend to add BR: perl as its redundant. And as you already know 
http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2, we don't need BR for this package. If you are going to add explicit BR then please add comment for that also.

Comment 7 Alan Pevec 2010-10-19 11:00:37 UTC
(In reply to comment #5)
> While we're making changes, let's add virtmaint too:

> Owners: rjones mdbooth virtmaint

Assuming virtmaint is just an email alias, it probably should be in

> InitialCC:

instead?

Comment 8 Kevin Fenzi 2010-10-25 18:47:41 UTC
virtmaint can't be an owner. Did you mean it to be in cc?

Comment 9 Richard W.M. Jones 2010-10-26 07:43:01 UTC
New Package SCM Request
=======================
Package Name: virt-what
Short Description: detect if we are running in a virtual machine
Owners: rjones mdbooth
Branches: f13 f14
InitialCC:

Comment 10 Jens Petersen 2010-10-28 09:22:26 UTC
Git done (by process-git-requests).

You didn't answer Kevin's question - so I took the liberty of adding initcc virtmaint.
If that is wrong drop me a quick mail and I can remove it.

Comment 12 Fedora Update System 2010-10-28 12:25:33 UTC
virt-what-1.3-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/virt-what-1.3-3.fc14

Comment 13 Fedora Update System 2010-10-28 12:25:33 UTC
virt-what-1.3-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/virt-what-1.3-3.fc13

Comment 14 Fedora Update System 2010-11-05 22:55:50 UTC
virt-what-1.3-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2010-11-05 22:57:46 UTC
virt-what-1.3-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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