[virt-what] BuildRequires 'getopt' from util-linux-ng.
Richard W.M. Jones
rjones at fedoraproject.org
Wed Jan 19 19:08:05 UTC 2011
commit 1850405c0bc3e75fc46fee113ac9aa72130ad212
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Jan 19 19:07:53 2011 +0000
BuildRequires 'getopt' from util-linux-ng.
virt-what.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/virt-what.spec b/virt-what.spec
index 0a07250..bc15a71 100644
--- a/virt-what.spec
+++ b/virt-what.spec
@@ -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 at redhat.com> - 1.6-1
+* Wed Jan 19 2011 Richard W.M. Jones <rjones at 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 at redhat.com> - 1.5-1
- New upstream version 1.5.
More information about the scm-commits
mailing list