forked from pool/virtiofsd
- Service: Remove deprecated cargo_config and cargo_audit services, both
are now handled by the cargo_vendor service - Add new upstream features for the libvirt/virtiofsd interop config OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtiofsd?expand=0&rev=24
This commit is contained in:
parent
53037a3f45
commit
2005b7a025
@ -1,5 +1,9 @@
|
||||
{
|
||||
"description": "virtiofsd vhost-user-fs",
|
||||
"type": "fs",
|
||||
"binary": "@@LIBEXECDIR@@/virtiofsd"
|
||||
"binary": "@@LIBEXECDIR@@/virtiofsd",
|
||||
"features": [
|
||||
"migrate-precopy",
|
||||
"separate-options"
|
||||
]
|
||||
}
|
||||
|
4
_service
4
_service
@ -19,10 +19,6 @@
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
|
||||
<service name="cargo_audit" mode="disabled">
|
||||
<param name="srcdir">virtiofsd</param>
|
||||
</service>
|
||||
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srcdir">virtiofsd</param>
|
||||
<param name="compression">xz</param>
|
||||
|
@ -1,5 +0,0 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aafa01e1d26ccb1e93314fd327154a2fc3198317bdebed1217099fe02bc3ac9b
|
||||
size 24286775
|
||||
oid sha256:fcbf986f6c859d95c664f02c58000f5af08d53068ab6c35a282ecd2495b1119d
|
||||
size 14890536
|
||||
|
@ -1,6 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 19:57:34 UTC 2024 - Caleb Crane <caleb.crane@suse.com>
|
||||
|
||||
- Service: Remove deprecated cargo_config and cargo_audit services, both
|
||||
are now handled by the cargo_vendor service
|
||||
- Add new upstream features for the libvirt/virtiofsd interop config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 08 08:13:17 UTC 2024 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||
|
||||
- Fix build failure after update to Rust 1.80 (bsc#1228972)
|
||||
- Update to version 1.11.1:
|
||||
* Changes since 1.11.0:
|
||||
* Add "separate-options" capability
|
||||
|
@ -31,8 +31,7 @@ License: Apache-2.0
|
||||
URL: https://gitlab.com/virtio-fs/virtiofsd
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: cargo_config
|
||||
Source3: 50-virtiofsd.json
|
||||
Source2: 50-virtiofsd.json
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
@ -44,11 +43,9 @@ A vhost-user virtio-fs device backend written in Rust
|
||||
|
||||
%prep
|
||||
%autosetup -a1
|
||||
mkdir .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
# Adjust libvirt/virtiofsd interop config file to handle differences in
|
||||
# the definition of libexecdir macro on SLE and Tumbleweed (bsc#1219772)
|
||||
sed -i 's#@@LIBEXECDIR@@#%{_virtiofsd_libexecdir}#' %{SOURCE3}
|
||||
sed -i 's#@@LIBEXECDIR@@#%{_virtiofsd_libexecdir}#' %{SOURCE2}
|
||||
|
||||
%build
|
||||
%{cargo_build}
|
||||
@ -56,7 +53,7 @@ sed -i 's#@@LIBEXECDIR@@#%{_virtiofsd_libexecdir}#' %{SOURCE3}
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_virtiofsd_libexecdir}
|
||||
install -D -p -m 0755 %{_builddir}/%{name}-%{version}/target/release/virtiofsd %{buildroot}%{_virtiofsd_libexecdir}/virtiofsd
|
||||
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/qemu/vhost-user/50-virtiofsd.json
|
||||
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/qemu/vhost-user/50-virtiofsd.json
|
||||
|
||||
%check
|
||||
%{cargo_test}
|
||||
|
Loading…
x
Reference in New Issue
Block a user