mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
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 <blp@nicira.com>
This commit is contained in:
@@ -60,7 +60,7 @@ Open vSwitch Linux kernel module compiled against kernel version
|
|||||||
%setup -q -n openvswitch-%{openvswitch_version}
|
%setup -q -n openvswitch-%{openvswitch_version}
|
||||||
|
|
||||||
%build
|
%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}
|
make %{_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Reference in New Issue
Block a user