|
|
8cf3d9 |
Name: virtiofsd
|
|
|
8cf3d9 |
Version: 1.1.0
|
|
|
8cf3d9 |
Release: 4%{?dist}
|
|
|
8cf3d9 |
Summary: Virtio-fs vhost-user device daemon (Rust version)
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
# Upstream license specification: Apache-2.0 AND BSD-3-Clause
|
|
|
8cf3d9 |
License: ASL 2.0 and BSD
|
|
|
8cf3d9 |
URL: https://gitlab.com/virtio-fs/virtiofsd
|
|
|
8cf3d9 |
Source0: %{crates_source}
|
|
|
8cf3d9 |
Source1: %{name}-%{version}-vendor.tar.gz
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
# For bz#2057252 - process_queue_pool: Only acquire the VringMutex lock once
|
|
|
8cf3d9 |
Patch1: process_queue_pool-Only-acquire-the-VringMutex-lock-.patch
|
|
|
8cf3d9 |
# For bz#2057252 - Set the number of written bytes for used descs
|
|
|
8cf3d9 |
Patch2: Set-the-number-of-written-bytes-for-used-descs.patch
|
|
|
8cf3d9 |
# For bz#2057252 - Clean up flags in opendir (downstream)
|
|
|
8cf3d9 |
Patch3: Clean-up-flags-in-opendir-downstream.patch
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
ExclusiveArch: x86_64 aarch64 s390x
|
|
|
8cf3d9 |
BuildRequires: rust-toolset
|
|
|
8cf3d9 |
BuildRequires: libcap-ng-devel
|
|
|
8cf3d9 |
BuildRequires: libseccomp-devel
|
|
|
8cf3d9 |
Provides: virtiofsd
|
|
|
8cf3d9 |
Obsoletes: qemu-virtiofsd = 17:6.2.0
|
|
|
8cf3d9 |
# Both qemu-virtiofsd and virtiofsd ship the same binary
|
|
|
8cf3d9 |
Conflicts: qemu-virtiofsd = 17:6.2.0
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
%description
|
|
|
8cf3d9 |
%{summary}.
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
%prep
|
|
|
8cf3d9 |
%setup -q -n %{name}-%{version}
|
|
|
8cf3d9 |
%autopatch -p1
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
%cargo_prep -V 1
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
%build
|
|
|
8cf3d9 |
%cargo_build
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
%install
|
|
|
8cf3d9 |
mkdir -p %{buildroot}%{_libexecdir}
|
|
|
8cf3d9 |
install -D -p -m 0755 target/release/virtiofsd %{buildroot}%{_libexecdir}/virtiofsd
|
|
|
8cf3d9 |
install -D -p -m 0644 50-qemu-virtiofsd.json %{buildroot}%{_datadir}/qemu/vhost-user/50-qemu-virtiofsd.json
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
%files
|
|
|
8cf3d9 |
%license LICENSE-APACHE LICENSE-BSD-3-Clause
|
|
|
8cf3d9 |
%doc README.md
|
|
|
8cf3d9 |
%{_libexecdir}/virtiofsd
|
|
|
8cf3d9 |
%{_datadir}/qemu/vhost-user/50-qemu-virtiofsd.json
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
%changelog
|
|
|
8cf3d9 |
* Tue Mar 22 2022 Sergio Lopez <slp@redhat.com> - 1.1.0-4
|
|
|
8cf3d9 |
- process_queue_pool-Only-acquire-the-VringMutex-lock-.patch [bz#2057252]
|
|
|
8cf3d9 |
- Set-the-number-of-written-bytes-for-used-descs.patch [bz#2057252]
|
|
|
8cf3d9 |
- Clean-up-flags-in-opendir-downstream.patch [bz#2057252]
|
|
|
8cf3d9 |
- Resolves: bz#2057252
|
|
|
8cf3d9 |
([virtiofsd]Can't access to the shared directory on windows guest with the new virtiofsd(rust))
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
* Fri Feb 18 2022 Sergio Lopez <slp@redhat.com> - 1.1.0-3
|
|
|
8cf3d9 |
- Restore "Provides: virtiofsd", despite rpmdeplint complains, to
|
|
|
8cf3d9 |
satisfy qemu-kvm dependencies
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
* Fri Jan 28 2022 Sergio Lopez <slp@redhat.com> - 1.1.0-2
|
|
|
8cf3d9 |
- Explicitly declare the conflict with qemu-virtiofsd
|
|
|
8cf3d9 |
- Remove explicit library dependencies
|
|
|
8cf3d9 |
- Remove useless "Provides: virtiosfd"
|
|
|
8cf3d9 |
- Remove Windows binaries from vendor tarball
|
|
|
8cf3d9 |
|
|
|
8cf3d9 |
* Thu Jan 27 2022 Sergio Lopez <slp@redhat.com> - 1.1.0-1
|
|
|
8cf3d9 |
- Initial package
|
|
|
8cf3d9 |
|