Blame SPECS/virtiofsd.spec

8cf3d9
Name:           virtiofsd
7c7c36
Version:        1.4.0
7c7c36
Release:        1%{?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
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
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
7c7c36
* Wed Jul 27 2022 Sergio Lopez <slp@redhat.com> - 1.4.0-1
7c7c36
- Update to upstream version 1.4.0 [bz#2111356]
7c7c36
7c7c36
* Mon Jun 27 2022 Sergio Lopez <slp@redhat.com> - 1.3.0-1
7c7c36
- Update to upstream version 1.3.0 [bz#2077854]
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