|
|
5a870c |
Name: virtiofsd
|
|
|
5a870c |
Version: 1.1.0
|
|
|
5a870c |
Release: 3%{?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
|
|
|
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 |
|