Unbundle pci-driver
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 28 Oct 2022 17:12:42 +0000 (18:12 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 28 Oct 2022 17:16:05 +0000 (18:16 +0100)
libblkio/libblkio.spec

index 9e3d6ff..6cf6b66 100644 (file)
@@ -15,13 +15,11 @@ License:       ASL 2.0 or MIT
 # These were created by running "cargo vendor" in the source tree
 # and then making a tarball of just the following directories:
 # vendor/memfd
-# vendor/pci-driver
 # vendor/winapi*
 Source1:       vendor.tar.gz
 
 # Bundled dependencies
 Provides:      bundled(crate(memfd/default)) = 0.4.1
-Provides:      bundled(crate(pci-driver/default)) = 0.1.2
 
 # Basic build requirements.
 BuildRequires: gcc, gcc-c++
@@ -46,7 +44,7 @@ BuildRequires: crate(memmap/default)
 BuildRequires: crate(memoffset/default)
 BuildRequires: crate(nix/default)
 BuildRequires: crate(num-traits/default)
-BuildRequires: crate(pci-driver/default)
+BuildRequires: crate(pci-driver/default)
 BuildRequires: crate(proc-macro2/default)
 BuildRequires: crate(quote/default)
 BuildRequires: crate(syn/default)
@@ -76,7 +74,6 @@ tar zxf %{SOURCE1}
 cat >> Cargo.toml <<EOF
 [patch.crates-io]
 memfd = { path = 'vendor/memfd' }
-pci-driver = { path = 'vendor/pci-driver' }
 winapi = { path = 'vendor/winapi' }
 winapi-i686-pc-windows-gnu = { path = 'vendor/winapi-i686-pc-windows-gnu' }
 winapi-x86_64-pc-windows-gnu = { path = 'vendor/winapi-x86_64-pc-windows-gnu' }