]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: Move check for XML::XPath into bootstrap
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 8 Dec 2014 10:51:33 +0000 (11:51 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 9 Dec 2014 07:23:21 +0000 (08:23 +0100)
The module XML::XPath is needed when building from git only (no need to
have it when building from tarball), so this patch moves the check from
specfile into bootstrap.conf.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
bootstrap.conf
libvirt.spec.in

index e7ea9c9bb5dbfd232e5faad994ac2805bc0bd2cb..c06ee4ca5479a432dc885448571be40f2e5e4d58 100644 (file)
@@ -1,6 +1,6 @@
 # Bootstrap configuration.
 
-# Copyright (C) 2010-2013 Red Hat, Inc.
+# Copyright (C) 2010-2014 Red Hat, Inc.
 
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -210,6 +210,7 @@ gzip       -
 libtool    -
 patch      -
 perl       5.5
+perl::XML::XPath -
 pkg-config -
 python-config -
 rpcgen     -
index bda28e72a5ee6b693a533d4e4e42bed577dd57fb..a23aa0a50aa333450d8b2a06db9f6d31a553b5ae 100644 (file)
@@ -427,7 +427,6 @@ BuildRequires: /usr/bin/pod2man
 %endif
 BuildRequires: git
 BuildRequires: perl
-BuildRequires: perl-XML-XPath
 BuildRequires: python
 %if %{with_systemd}
 BuildRequires: systemd-units