git.annexia.org
/
fedora-reviews.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8ed4bf
)
Update libblkio
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 7 Sep 2022 12:18:37 +0000
(13:18 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 7 Sep 2022 12:18:37 +0000
(13:18 +0100)
libblkio/libblkio.spec
patch
|
blob
|
history
diff --git
a/libblkio/libblkio.spec
b/libblkio/libblkio.spec
index
702a367
..
922bb63
100644
(file)
--- a/
libblkio/libblkio.spec
+++ b/
libblkio/libblkio.spec
@@
-15,6
+15,7
@@
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:
#
# 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/winapi*
# vendor/io-uring
# vendor/memfd
# vendor/winapi*
@@
-67,6
+68,17
@@
This package contains development tools for %{name}.
%forgesetup
tar zxf %{SOURCE1}
%forgesetup
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' }
+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' }
+EOF
+%cargo_prep
+sed -e 's/--locked/--offline/' -i src/cargo-build.sh
%build
%{meson}
%build
%{meson}