The dependencies are listed in the SPEC file, but first it is necessary
to replace the VERSION tag to be a valid SPEC.
-The command below will create a temporary SPEC file:
-::
+The command below will create a temporary SPEC file::
+
$ sed -e 's/@VERSION@/0.0.1/' rhel/openvswitch-fedora.spec.in \
> /tmp/ovs.spec
And to install specific dependencies, use the corresponding tool below.
-DNF:
-::
+DNF::
+
$ dnf builddep /tmp/ovs.spec
-YUM:
-::
+YUM::
+
$ yum-builddep /tmp/ovs.spec
Once that is completed, remove the file ``/tmp/ovs.spec``.
------------------
You will need to install all required packages to build the RPMs.
-The command below will install RPM tools and generic build dependencies:
-::
+The command below will install RPM tools and generic build dependencies::
+
$ yum install @'Development Tools' rpm-build yum-utils
Then it is necessary to install Open vSwitch specific build dependencies.
The dependencies are listed in the SPEC file, but first it is necessary
to replace the VERSION tag to be a valid SPEC.
-The command below will create a temporary SPEC file:
-::
+The command below will create a temporary SPEC file::
+
$ sed -e 's/@VERSION@/0.0.1/' rhel/openvswitch.spec.in > /tmp/ovs.spec
-And to install specific dependencies, use yum-builddep tool:
-::
+And to install specific dependencies, use yum-builddep tool::
+
$ yum-builddep /tmp/ovs.spec
Once that is completed, remove the file ``/tmp/ovs.spec``.