We should not try to build with deps from the vendor directory locally.
This will force me to run make vendor manually if I pull in new deps.
When distros want to build with bundeld deps they should a) download
the linked vendor tarball which we should provide for the releases and
b) create the cargo config since to let cargo use the vendor dir.
```
tar xvf %{SOURCE1}
mkdir -p .cargo
cat >.cargo/config << EOF
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
```
see https://src.fedoraproject.org/rpms/rust-coreos-installer/blob/rawhide/f/rust-coreos-installer.spec#_86
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
From now on, the vendor directory will no longer be part of the github
repository. For distribution maintainers, we will publish the vendor
directory in the form of a tar.gz file with the release.
For the Fedora spec, something like this will to be done at a minimum:
+Source1: %{url}/releases/download/v%{version}/%{name}-%{version}-vendor.tar.gz
Signed-off-by: Brent Baude <bbaude@redhat.com>