Update to 1.0.0
This commit is contained in:
parent
67625b52f7
commit
d142f01d6e
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
||||
/mdevctl-0.69.tar.gz
|
||||
/mdevctl-0.78.tar.gz
|
||||
/mdevctl-0.81.tar.gz
|
||||
/mdevctl-1.0.0.crate
|
||||
|
44
mdevctl.spec
44
mdevctl.spec
@ -1,19 +1,21 @@
|
||||
Name: mdevctl
|
||||
Version: 0.81
|
||||
Release: 1%{?dist}
|
||||
Summary: Mediated device management and persistence utility
|
||||
%bcond_without check
|
||||
%global __cargo_skip_build 0
|
||||
|
||||
Group: System Environment/Kernel
|
||||
License: LGPLv2
|
||||
URL: https://github.com/mdevctl/mdevctl
|
||||
BuildArch: noarch
|
||||
%global crate mdevctl
|
||||
|
||||
Source0: https://github.com/mdevctl/mdevctl/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Name: mdevctl
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A mediated device management utility for Linux
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: systemd
|
||||
License: LGPLv2
|
||||
URL: https://crates.io/crates/mdevctl
|
||||
Source: %{crates_source}
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: make systemd rust-packaging
|
||||
Requires(post,postun): %{_sbindir}/udevadm
|
||||
Requires: coreutils udev jq
|
||||
|
||||
%description
|
||||
mdevctl is a utility for managing and persisting devices in the
|
||||
@ -23,11 +25,22 @@ can be dynamically created and potentially used by drivers like
|
||||
vfio-mdev for assignment to virtual machines.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%cargo_prep
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
@ -37,9 +50,14 @@ vfio-mdev for assignment to virtual machines.
|
||||
%dir %{_sysconfdir}/mdevctl.d
|
||||
%{_mandir}/man8/mdevctl.8*
|
||||
%{_mandir}/man8/lsmdev.8*
|
||||
%{_datadir}/bash-completion/completions/mdevctl
|
||||
%{_datadir}/bash-completion/completions/lsmdev
|
||||
|
||||
%changelog
|
||||
|
||||
* Mon Jul 12 2021 Alex Williamson <alex.williamson@redhat.com> - 1.0.0-1
|
||||
- Upstream rewrite in rust
|
||||
|
||||
* Thu Jun 10 2021 Alex Williamson <alex.williamson@redhat.com> - 0.81-1
|
||||
- c077ee72b286 ("Automatic version commit for tag 0.81")
|
||||
- 4aad72d7a921 ("Merge pull request #37 from fiuczy/fix-define-jsonfile")
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (mdevctl-0.81.tar.gz) = 6e19e07de6e9a6c5be5d839ae8f98836f14124edcc2621f922342a25be2e69336c9c8db3947019a5295defa8d6a54b5b83c483cc4504b0c28b0ca406c6bb45c4
|
||||
SHA512 (mdevctl-1.0.0.crate) = 41d8b56828ff7be774fb288b61f146e460c4a813f6e7095b014e0b8df30344f8ba00bfd1dec72488b684f82b18299eafedd78416ee04dce918e13566df7c6129
|
||||
|
Loading…
Reference in New Issue
Block a user