|
|
5a870c |
Name: virtiofsd
|
|
|
734fc5 |
Version: 1.5.0
|
|
|
b13a49 |
Release: 1%{?dist}
|
|
|
5a870c |
Summary: Virtio-fs vhost-user device daemon (Rust version)
|
|
|
5a870c |
|
|
|
5a870c |
# Upstream license specification: Apache-2.0 AND BSD-3-Clause
|
|
|
5a870c |
License: ASL 2.0 and BSD
|
|
|
5a870c |
URL: https://gitlab.com/virtio-fs/virtiofsd
|
|
|
5a870c |
Source0: %{crates_source}
|
|
|
5a870c |
Source1: %{name}-%{version}-vendor.tar.gz
|
|
|
5a870c |
|
|
|
5a870c |
ExclusiveArch: x86_64 aarch64 s390x
|
|
|
5a870c |
BuildRequires: rust-toolset
|
|
|
5a870c |
BuildRequires: libcap-ng-devel
|
|
|
5a870c |
BuildRequires: libseccomp-devel
|
|
|
5a870c |
Provides: virtiofsd
|
|
|
5a870c |
Obsoletes: qemu-virtiofsd = 17:6.2.0
|
|
|
5a870c |
# Both qemu-virtiofsd and virtiofsd ship the same binary
|
|
|
5a870c |
Conflicts: qemu-virtiofsd = 17:6.2.0
|
|
|
5a870c |
|
|
|
5a870c |
%description
|
|
|
5a870c |
%{summary}.
|
|
|
5a870c |
|
|
|
5a870c |
%prep
|
|
|
5a870c |
%setup -q -n %{name}-%{version}
|
|
|
5a870c |
|
|
|
5a870c |
%cargo_prep -V 1
|
|
|
5a870c |
|
|
|
5a870c |
%build
|
|
|
5a870c |
%cargo_build
|
|
|
5a870c |
|
|
|
5a870c |
%install
|
|
|
5a870c |
mkdir -p %{buildroot}%{_libexecdir}
|
|
|
5a870c |
install -D -p -m 0755 target/release/virtiofsd %{buildroot}%{_libexecdir}/virtiofsd
|
|
|
5a870c |
install -D -p -m 0644 50-qemu-virtiofsd.json %{buildroot}%{_datadir}/qemu/vhost-user/50-qemu-virtiofsd.json
|
|
|
5a870c |
|
|
|
5a870c |
%files
|
|
|
5a870c |
%license LICENSE-APACHE LICENSE-BSD-3-Clause
|
|
|
5a870c |
%doc README.md
|
|
|
5a870c |
%{_libexecdir}/virtiofsd
|
|
|
5a870c |
%{_datadir}/qemu/vhost-user/50-qemu-virtiofsd.json
|
|
|
5a870c |
|
|
|
5a870c |
%changelog
|
|
|
734fc5 |
* Thu Dec 22 2022 German Maglione <gmaglione@redhat.com> - 1.5.0-1
|
|
|
734fc5 |
- Update to upstream version 1.5.0 [bz#2123070]
|
|
|
734fc5 |
|
|
|
b13a49 |
* Wed Jul 27 2022 Sergio Lopez <slp@redhat.com> - 1.4.0-1
|
|
|
b13a49 |
- Update to upstream version 1.4.0 [bz#2111356]
|
|
|
b13a49 |
|
|
|
b13a49 |
* Mon Jun 27 2022 Sergio Lopez <slp@redhat.com> - 1.3.0-1
|
|
|
b13a49 |
- Update to upstream version 1.3.0 [bz#2077854]
|
|
|
b13a49 |
|
|
|
5a870c |
* Fri Feb 18 2022 Sergio Lopez <slp@redhat.com> - 1.1.0-3
|
|
|
5a870c |
- Restore "Provides: virtiofsd", despite rpmdeplint complains, to
|
|
|
5a870c |
satisfy qemu-kvm dependencies
|
|
|
5a870c |
|
|
|
5a870c |
* Fri Jan 28 2022 Sergio Lopez <slp@redhat.com> - 1.1.0-2
|
|
|
5a870c |
- Explicitly declare the conflict with qemu-virtiofsd
|
|
|
5a870c |
- Remove explicit library dependencies
|
|
|
5a870c |
- Remove useless "Provides: virtiosfd"
|
|
|
5a870c |
- Remove Windows binaries from vendor tarball
|
|
|
5a870c |
|
|
|
5a870c |
* Thu Jan 27 2022 Sergio Lopez <slp@redhat.com> - 1.1.0-1
|
|
|
5a870c |
- Initial package
|
|
|
5a870c |
|