Don't build scapy-doc package on rhel
scapy documentation is provided under cc-by-nc-sa license, but unfortunately the -nc bit is not compatible with rhel distribution policies. This make it possible to ship scapy without documentation. Resolves: rhbz#1973720 Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
This commit is contained in:
parent
f4ba8934f3
commit
6239c6c2fc
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user