Skip to content

Commit

Permalink
fedora.rst, rhel.rst: Fix broken build.
Browse files Browse the repository at this point in the history
This fixes several "ERROR: Unexpected indentation" messages from the
docs-check target.

Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
blp committed Dec 1, 2017
1 parent 6806b96 commit 936cca1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Documentation/intro/install/fedora.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@ 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-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``.
Expand Down
12 changes: 6 additions & 6 deletions Documentation/intro/install/rhel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,20 @@ Build Requirements
------------------

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``.
Expand Down

0 comments on commit 936cca1

Please sign in to comment.