From 8b08f1a0717c29518b262912ead5627ecb27a5a7 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 8 Jul 2012 19:42:06 -0400 Subject: [PATCH] spec: Changes to handle askpass-package --- virt-manager.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/virt-manager.spec.in b/virt-manager.spec.in index c175941ce..723b08270 100644 --- a/virt-manager.spec.in +++ b/virt-manager.spec.in @@ -9,6 +9,7 @@ %define preferred_distros "" %define kvm_packages "" %define libvirt_packages "" +%define askpass_package "" %define disable_unsupported_rhel 0 %define with_guestfs 0 @@ -186,6 +187,10 @@ Common files used by the different Virtual Machine Manager interfaces. %define _libvirt_packages --with-libvirt-package-names=%{libvirt_packages} %endif +%if %{askpass_package} +%define _askpass_package --with-askpass-package=%{askpass_package} +%endif + %if %{disable_unsupported_rhel} %define _disable_unsupported_rhel --disable-unsupported-rhel-options %endif @@ -204,6 +209,7 @@ Common files used by the different Virtual Machine Manager interfaces. %{?_qemu_user} \ %{?_kvm_packages} \ %{?_libvirt_packages} \ + %{?_askpass_package} \ %{?_preferred_distros} \ %{?_disable_unsupported_rhel} \ %{?_default_graphics}