1 Star 0 Fork 9

jlwwlsqc/virt-what

forked from src-openEuler/virt-what 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
virt-what.spec 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
Name: virt-what
Version: 1.20
Release: 3
Summary: Detect if running in a virtual machine
License: GPLv2+
URL: https://people.redhat.com/~rjones/virt-what/
Source0: https://people.redhat.com/~rjones/virt-what/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
* 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jlwwlsqc/virt-what.git
git@gitee.com:jlwwlsqc/virt-what.git
jlwwlsqc
virt-what
virt-what
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385