Unbundle io-uring
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 28 Oct 2022 17:06:55 +0000 (18:06 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 28 Oct 2022 17:15:12 +0000 (18:15 +0100)
libblkio/libblkio.spec

index bb13718..4538b39 100644 (file)
@@ -15,7 +15,6 @@ 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/concat-idents
-# vendor/io-uring
 # vendor/memfd
 # vendor/pci-driver
 # vendor/winapi*
@@ -23,7 +22,6 @@ Source1:       vendor.tar.gz
 
 # Bundled dependencies
 Provides:      bundled(crate(concat-idents/default)) = 1.1.3
-Provides:      bundled(crate(io-uring/default)) = 0.5.6
 Provides:      bundled(crate(memfd/default)) = 0.4.1
 Provides:      bundled(crate(pci-driver/default)) = 0.1.2
 
@@ -42,7 +40,7 @@ BuildRequires: crate(cc/default)
 BuildRequires: crate(cfg-if/default)
 # BuildRequires: crate(concat-idents...)
 BuildRequires: crate(const-cstr/default)
-# BuildRequires: crate(io-uring...)
+BuildRequires: crate(io-uring/default)
 BuildRequires: crate(lazy_static/default)
 BuildRequires: crate(libc/default)
 # BuildRequires: crate(memfd...)
@@ -80,7 +78,6 @@ tar zxf %{SOURCE1}
 cat >> Cargo.toml <<EOF
 [patch.crates-io]
 concat-idents = { path = 'vendor/concat-idents' }
-io-uring = { path = 'vendor/io-uring' }
 memfd = { path = 'vendor/memfd' }
 pci-driver = { path = 'vendor/pci-driver' }
 winapi = { path = 'vendor/winapi' }