virtiofsd/SPECS/virtiofsd.spec

75 lines
2.3 KiB
RPMSpec
Raw Normal View History

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