virt-what/virt-what.spec

79 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:19:32 -04:00
Name: virt-what
2022-02-08 10:29:17 +08:00
Version: 1.21
Release: 2
2019-09-30 11:19:32 -04:00
Summary: Detect if running in a virtual machine
License: GPLv2+
URL: https://people.redhat.com/~rjones/%{name}/
Source0: https://people.redhat.com/~rjones/%{name}/files/%{name}-%{version}.tar.gz
2019-09-30 11:19:32 -04:00
BuildRequires: gcc util-linux /usr/bin/pod2man
2019-09-30 11:19:32 -04:00
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
2019-09-30 11:19:32 -04:00
%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
* Tue Oct 25 2022 hongjinghao <hongjinghao@huawei.com> - 1.21-2
- use %{name} marco
2022-02-08 10:29:17 +08:00
* Tue Feb 8 2022 yangzhuangzhuang <yangzhuangzhuang1@h-partners.com> - 1.21-1
- update to 1.21
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.20-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
2020-09-19 14:40:04 +08:00
* Sat Sep 19 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.20-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Change the URL and Source0
2020-07-24 14:56:06 +08:00
* 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
2019-09-30 11:19:32 -04:00
* 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