#
# These were created by running "cargo vendor" in the source tree
# and then making a tarball of just the following directories:
-# vendor/concat-idents
# vendor/memfd
# vendor/pci-driver
# vendor/winapi*
Source1: vendor.tar.gz
# Bundled dependencies
-Provides: bundled(crate(concat-idents/default)) = 1.1.3
Provides: bundled(crate(memfd/default)) = 0.4.1
Provides: bundled(crate(pci-driver/default)) = 0.1.2
BuildRequires: crate(bitflags/default)
BuildRequires: crate(cc/default)
BuildRequires: crate(cfg-if/default)
-# BuildRequires: crate(concat-idents...)
+BuildRequires: crate(concat-idents/default)
BuildRequires: crate(const-cstr/default)
BuildRequires: crate(io-uring/default)
BuildRequires: crate(lazy_static/default)
cat >> Cargo.toml <<EOF
[patch.crates-io]
-concat-idents = { path = 'vendor/concat-idents' }
memfd = { path = 'vendor/memfd' }
pci-driver = { path = 'vendor/pci-driver' }
winapi = { path = 'vendor/winapi' }