diff --git a/scapy.spec b/scapy.spec index c33acfa..7a35eca 100644 --- a/scapy.spec +++ b/scapy.spec @@ -33,11 +33,10 @@ requests and replies, and much more.} %bcond_with python2 %endif -# By default build the documentation -%if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} >= 8 ) +# Build the documentation only on Fedora due to cc-by-nc-sa license +%if 0%{?fedora} %bcond_without doc %else -# Documentation build fails on rhel7 due to version of sphinx %bcond_with doc %endif