This format is not kosher AsciiDoc.

You want:

.RHEL6
----
# commands
----

.Fedora
----
# commands
----