Accepting request 263239 from systemsmanagement:puppet
- cosmetics: run spec-cleaner, use 'make install' - run tests - install the license OBS-URL: https://build.opensuse.org/request/show/263239 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-what?expand=0&rev=4
This commit is contained in:
parent
f27896e887
commit
928108a797
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user