We're not building any kernel modules these days and the macro
inside a comment generates a warning:

 RPM build warnings:
   Macro expanded in comment on line 23:
   %define kernel 2.6.40.4-5.fc15.x86_64

Signed-off-by: Ilya Maximets <[email protected]>
---
 rhel/openvswitch-fedora.spec.in | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 38fbee727..90dff5162 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -16,10 +16,6 @@
 # and should not be used otherwise (these tests require root privileges).
 # These tests can be executed, for example, via:
 #    rpmbuild -rb --with check_datapath_kernel openvswitch-fedora.src.rpm
-#
-# These tests will use the currently installed OVS kernel modules.
-
-#%define kernel 2.6.40.4-5.fc15.x86_64
 
 # If libcap-ng isn't available and there is no need for running OVS
 # as regular user, specify the '--without libcapng'
@@ -85,8 +81,6 @@ BuildRequires: libbpf-devel systemtap-sdt-devel
 BuildRequires: unbound unbound-devel
 
 Requires: openssl hostname iproute module-init-tools unbound
-#Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
-#Requires: kernel >= 3.15.0-0
 
 Requires(pre): shadow-utils
 Requires(post): /bin/sed
-- 
2.52.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to