2022-05-17 06:04:08 +00:00
|
|
|
Name: virtiofsd
|
2023-12-24 16:23:01 +00:00
|
|
|
Version: 1.9.0
|
2023-07-21 13:43:19 +00:00
|
|
|
Release: 1%{?dist}
|
2022-05-17 06:04:08 +00:00
|
|
|
Summary: Virtio-fs vhost-user device daemon (Rust version)
|
|
|
|
|
2023-07-21 13:43:19 +00:00
|
|
|
License: Apache-2.0 AND BSD-3-Clause
|
2022-05-17 06:04:08 +00:00
|
|
|
URL: https://gitlab.com/virtio-fs/virtiofsd
|
|
|
|
Source: %{crates_source}
|
2023-04-28 19:15:51 +00:00
|
|
|
# To create the vendor tarball:
|
|
|
|
# tar xf %%{name}-%%{version}.crate ; pushd %%{name}-%%{version} ; \
|
|
|
|
# cargo vendor && tar Jcvf ../%%{name}-%%{version}-vendor.tar.xz vendor/ ; popd
|
|
|
|
Source1: %{name}-%{version}-vendor.tar.xz
|
2022-05-17 06:04:08 +00:00
|
|
|
|
2022-06-07 07:31:03 +00:00
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
# Some of our deps (i.e. vm-memory) are not available on 32 bits targets.
|
|
|
|
ExcludeArch: i686
|
|
|
|
|
2023-04-28 19:15:51 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
BuildRequires: rust-toolset
|
|
|
|
%else
|
2022-05-17 06:04:08 +00:00
|
|
|
BuildRequires: rust-packaging >= 21
|
2023-04-28 19:15:51 +00:00
|
|
|
%endif
|
2022-05-17 06:04:08 +00:00
|
|
|
BuildRequires: libcap-ng-devel
|
|
|
|
BuildRequires: libseccomp-devel
|
2023-07-21 13:43:19 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
Requires: qemu-kvm-common
|
|
|
|
%else
|
2022-05-17 06:04:08 +00:00
|
|
|
Requires: qemu-common
|
2023-07-21 13:43:19 +00:00
|
|
|
%endif
|
2022-05-17 06:04:08 +00:00
|
|
|
Provides: vhostuser-backend(fs)
|
|
|
|
Conflicts: qemu-virtiofsd
|
2023-05-09 15:23:12 +00:00
|
|
|
%if 0%{?fedora} > 38
|
2023-04-26 14:12:22 +00:00
|
|
|
Obsoletes: qemu-virtiofsd <= 2:8.0.0-1
|
|
|
|
Provides: qemu-virtiofsd = 2:7.2.1-1
|
2023-05-09 15:23:12 +00:00
|
|
|
%endif
|
2022-05-17 06:04:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{name}-%{version_no_tilde} -p1
|
2023-04-28 19:15:51 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
%cargo_prep -V 1
|
|
|
|
%else
|
2022-05-17 06:04:08 +00:00
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
2023-04-28 19:15:51 +00:00
|
|
|
%endif
|
2022-05-17 06:04:08 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}
|
|
|
|
install -D -p -m 0755 target/release/virtiofsd %{buildroot}%{_libexecdir}/virtiofsd
|
2023-12-24 16:23:01 +00:00
|
|
|
install -D -p -m 0644 50-virtiofsd.json %{buildroot}%{_datadir}/qemu/vhost-user/50-qemu-virtiofsd.json
|
2022-05-17 06:04:08 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE-APACHE LICENSE-BSD-3-Clause
|
|
|
|
%doc README.md
|
|
|
|
%{_libexecdir}/virtiofsd
|
|
|
|
%{_datadir}/qemu/vhost-user/50-qemu-virtiofsd.json
|
|
|
|
|
|
|
|
%changelog
|
2023-12-24 16:23:01 +00:00
|
|
|
* Sun Dec 24 2023 Sergio Lopez <slp@redhat.com> - 1.9.0-1
|
|
|
|
- Update to version 1.9.0
|
|
|
|
|
2023-09-29 19:15:00 +00:00
|
|
|
* Fri Sep 29 2023 Colin Walters <walters@verbum.org> - 1.7.0-5
|
|
|
|
- Rebuild with latest vhost-user-backend; xref
|
|
|
|
https://gitlab.com/virtio-fs/virtiofsd/-/issues/62#note_1584371000
|
|
|
|
|
2023-09-19 10:55:56 +00:00
|
|
|
* Tue Sep 19 2023 Fabio Valentini <decathorpe@gmail.com> - 1.7.0-4
|
|
|
|
- Rebuild for vm-memory v0.12.2 / CVE-2023-41051.
|
|
|
|
|
2023-07-22 17:45:39 +00:00
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-07-19 13:56:42 +00:00
|
|
|
* Wed Jul 19 2023 Sergio Lopez <slp@redhat.com> - 1.7.0-2
|
2023-07-21 13:43:19 +00:00
|
|
|
- Update license specification to conform SPDX format
|
|
|
|
|
2023-07-19 13:33:08 +00:00
|
|
|
* Tue Jul 18 2023 Sergio Lopez <slp@redhat.com> - 1.7.0-1
|
|
|
|
- Update to version 1.7.0
|
|
|
|
- Drop no longer needed temporary patch
|
2023-06-14 15:21:22 +00:00
|
|
|
|
2023-05-09 15:23:12 +00:00
|
|
|
* Tue May 09 2023 Sergio Lopez <slp@redhat.com> - 1.5.1-3
|
|
|
|
- Only use Obsoletes/Provides on Fedora 39 and later
|
|
|
|
|
2023-04-26 14:12:22 +00:00
|
|
|
* Wed Apr 26 2023 Daniel P. Berrangé <berrange@redhat.com> - 1.5.1-2
|
|
|
|
- Add Obsoletes/Provides for qemu-virtiofsd to get an upgrade path (rhbz #2189368)
|
|
|
|
|
2023-02-09 16:21:59 +00:00
|
|
|
* Thu Feb 09 2023 Sergio Lopez <slp@redhat.com> - 1.5.1-1
|
|
|
|
- Update to version 1.5.1
|
|
|
|
|
2023-02-05 20:27:44 +00:00
|
|
|
* Sun Feb 05 2023 Fabio Valentini <decathorpe@gmail.com> - 1.4.0-3
|
|
|
|
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.
|
|
|
|
|
2023-01-21 06:24:14 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-26 16:47:44 +00:00
|
|
|
* Tue Jul 26 2022 Sergio Lopez <slp@redhat.com> - 1.4.0-1
|
|
|
|
- Update to version 1.4.0
|
|
|
|
|
2022-07-23 12:00:23 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-07 07:31:03 +00:00
|
|
|
* Mon Jun 06 2022 Sergio Lopez <slp@redhat.com> - 1.3.0-1
|
|
|
|
- Update to version 1.3.0
|
|
|
|
- Build on all rust arches except i686 (32-bit targets are not supported)
|
|
|
|
|
2022-05-17 06:04:08 +00:00
|
|
|
* Mon May 16 2022 Sergio Lopez <slp@redhat.com> - 1.2.0-1
|
|
|
|
- Initial package
|
|
|
|
|