File virt-what.spec of Package virt-what.11908

# spec file for package virt-what
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           virt-what
Version:        1.20
Release:        0
Summary:        Detect if running in a virtual machine
License:        GPL-2.0+
Group:          System/Console
Source2:        %{name}.keyring
%ifarch %{ix86} x86_64 aarch64 %arm
Requires:       dmidecode
Requires:       util-linux
Requires:       which
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# for pod2man
%if 0%{?suse_version}
BuildRequires:  perl
BuildRequires:  perl-podlators

This is a collection of scripts which you can use to work out what
sort of virtualization you are running inside.  Please read the manual
page virt-what(1) to find out how to use it.  This file is for
developers and people compiling from source.

%setup -q

make %{?_smp_mflags}

make %{?_smp_mflags} DESTDIR=%{buildroot} install

make %{?_smp_mflags} check


openSUSE Build Service is sponsored by