From 1650ab62daacfd8cbfde65ff17598de2d45d9f3c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 24 Jan 2012 10:23:36 -0800 Subject: [PATCH] openvswitch-xen.spec: Avoid warning if build_number not defined. I expect that only Nicira internal builds want a build number, so it's nice to avoid a complaint from RPM if the build_number macro is not defined. Signed-off-by: Ben Pfaff --- xenserver/openvswitch-xen.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec index 20f309b5..29c3c1f9 100644 --- a/xenserver/openvswitch-xen.spec +++ b/xenserver/openvswitch-xen.spec @@ -60,7 +60,7 @@ Open vSwitch Linux kernel module compiled against kernel version %setup -q -n openvswitch-%{openvswitch_version} %build -./configure --prefix=/usr --sysconfdir=/etc --localstatedir=%{_localstatedir} --with-linux=/lib/modules/%{xen_version}/build --enable-ssl %{build_number} +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=%{_localstatedir} --with-linux=/lib/modules/%{xen_version}/build --enable-ssl %{?build_number} make %{_smp_mflags} %install -- 2.30.2