https://bugzilla.redhat.com/show_bug.cgi?id=2284159
--- Comment #4 from Neal Gompa ngompa13@gmail.com ---
%if %{with vendor} # see create-vendor-tarball.sh in this distgit repo Source0: trayscale-%{version}-vendored.tar.xz Source1: create-vendor-tarball.sh %else Source0: %{gosource} %endif
Sources are not allowed to be conditionalized. You should probably just use the vendored sources and have a conditional in prep to strip bundled deps when not being used.