virt-what/virt-what.spec
2020-07-24 14:58:58 +08:00

64 lines
1.2 KiB
RPMSpec

Name: virt-what
Version: 1.20
Release: 1
Summary: Detect if running in a virtual machine
License: GPLv2+
URL: http://people.redhat.com/~rjones/virt-what/
Source0: http://people.redhat.com/~rjones/virt-what/files/%{name}-%{version}.tar.gz
BuildRequires: gcc util-linux /usr/bin/pod2man git
Requires: dmidecode util-linux which
%description
virt-what is a shell script which can be used to detect if the program
is running in a virtual machine.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%make_install
%check
make check
%pre
%preun
%post
%postun
%files
%defattr(-,root,root)
%doc README COPYING
%{_sbindir}/*
%{_libexecdir}/virt-what-cpuid-helper
%files help
%{_mandir}/*/*
%changelog
* Fri Jul 24 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.20-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.20
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.18-8
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: revise spec file with new rules
* Wed Aug 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.18-7
- Package init