https://bugzilla.redhat.com/show_bug.cgi?id=1382681
--- Comment #5 from Raphael Groner projects.rg@smart.ms --- You can use a build conditional for doc: %bcond_without docs ... %if %{with docs} %package doc ... %endif ... %build %if %{with docs} ... make %{?_smp_mflags} docs %endif ... %if %{with docs} %files doc ... %endif