diff --git a/virt-what.changes b/virt-what.changes index caafb0e..1743c3d 100644 --- a/virt-what.changes +++ b/virt-what.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 27 15:31:03 UTC 2014 - tampakrap@opensuse.org + +- cosmetics: run spec-cleaner, use 'make install' +- run tests +- install the license + ------------------------------------------------------------------- Fri Jun 6 09:17:22 UTC 2014 - joop.boonen@opensuse.org diff --git a/virt-what.spec b/virt-what.spec index 745d727..f8e7232 100644 --- a/virt-what.spec +++ b/virt-what.spec @@ -1,7 +1,7 @@ # # spec file for package virt-what # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -23,7 +23,7 @@ Summary: Detect if running in a virtual machine License: GPL-2.0+ Group: System/Console Url: http://people.redhat.com/~rjones/virt-what -Source0: %name-%version.tar.gz +Source: http://people.redhat.com/~rjones/%{name}/files/%{name}-%{version}.tar.gz Requires: dmidecode Requires: util-linux BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -48,16 +48,14 @@ 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 +make DESTDIR=%{buildroot} install %{?_smp_mflags} + +%check +make check %{?_smp_mflags} %files %defattr(-,root,root) -%doc README +%doc README COPYING %{_sbindir}/virt-what %{_mandir}/man1/*.1* %{_libexecdir}/virt-what-cpuid-helper