diff --git a/virt-what.changes b/virt-what.changes new file mode 100644 index 0000000..c2d067b --- /dev/null +++ b/virt-what.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Dec 23 09:49:55 UTC 2013 - kkaempf@suse.com + +- Initial release 1.13 + diff --git a/virt-what.spec b/virt-what.spec index ae55edb..61917f9 100644 --- a/virt-what.spec +++ b/virt-what.spec @@ -1,17 +1,38 @@ # -# spec file for package +# spec file for package virt-what # +# Copyright (c) 2013 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 http://bugs.opensuse.org/ +# + Name: virt-what Version: 1.13 -Release: 1 -License: GPLv2+ +Release: 0 Summary: Detect if running in a virtual machine -Url: http://people.redhat.com/~rjones/virt-what +License: GPL-2.0+ Group: System/Console -Source0: %name-%version.tar.gz -Requires: dmidecode util-linux +Url: http://people.redhat.com/~rjones/virt-what +Source0: %name-%version.tar.gz +Requires: dmidecode +Requires: util-linux BuildRoot: %{_tmppath}/%{name}-%{version}-build +# for pod2man +%if 0%{?suse_version} +BuildRequires: perl +%else +BuildRequires: perl-podlators +%endif %description This is a collection of scripts which you can use to work out what @@ -27,7 +48,12 @@ developers and people compiling from source. make %{?_smp_mflags} %install +# no %%make_install in SLE11 +%if 0%{?suse_version} == 1110 +make install DESTDIR=%{buildroot} +%else %make_install +%endif %files %defattr(-,root,root) @@ -36,9 +62,4 @@ make %{?_smp_mflags} %{_mandir}/man1/*.1* %{_libexecdir}/virt-what-cpuid-helper - %changelog -* Sat Dec 8 2012 José Manuel Fardello - 1.12 -- Initial spec for 1.12 - -