BuildRequires 'getopt' from util-linux-ng.

This commit is contained in:
Richard W.M. Jones 2011-01-19 19:07:53 +00:00
parent a5a09fc40a
commit 1850405c0b

View File

@ -1,6 +1,6 @@
Name: virt-what
Version: 1.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Detect if we are running in a virtual machine
ExclusiveArch: %{ix86} x86_64
@ -14,6 +14,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# anyway in case this was dropped from the build root in future.
BuildRequires: /usr/bin/pod2man
# Required at build time in order to do 'make check' (for getopt).
BuildRequires: util-linux-ng
# virt-what script uses dmidecode and getopt (from util-linux-ng).
# RPM cannot detect this so make the dependencies explicit here.
Requires: dmidecode
@ -81,8 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jan 19 2011 Richard W.M. Jones <rjones@redhat.com> - 1.6-1
* Wed Jan 19 2011 Richard W.M. Jones <rjones@redhat.com> - 1.6-2
- New upstream version 1.6.
- BuildRequires 'getopt' from util-linux-ng.
* Tue Jan 18 2011 Richard W.M. Jones <rjones@redhat.com> - 1.5-1
- New upstream version 1.5.