virt-what/virt-what.spec
2023-01-29 11:05:24 +08:00

82 lines
1.7 KiB
RPMSpec

Name: virt-what
Version: 1.25
Release: 1
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
BuildRequires: gcc util-linux /usr/bin/pod2man
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
%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
* Sun Jan 29 2023 hongjinghao <hongjinghao@huawei.com> - 1.25-1
- update to 1.25
* Tue Oct 25 2022 hongjinghao <hongjinghao@huawei.com> - 1.21-2
- use %{name} marco
* 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
* 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
* 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