Rebase mdevctl to 1.1.0

Resolves: rhbz#1999686
This commit is contained in:
Eduardo Lima (Etrunko) 2021-11-18 16:14:24 -03:00
parent 19de826537
commit 249fb12ffa
3 changed files with 22 additions and 5 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@
/mdevctl-0.61.tar.gz
/mdevctl-0.69.tar.gz
/mdevctl-0.78.tar.gz
/mdevctl-1.1.0.tar.gz
/mdevctl-1.1.0-vendor.tar.gz

View File

@ -1,19 +1,21 @@
Name: mdevctl
Version: 0.78
Release: 4%{?dist}
Version: 1.1.0
Release: 1%{?dist}
Summary: Mediated device management and persistence utility
Group: System Environment/Kernel
License: LGPLv2
URL: https://github.com/mdevctl/mdevctl
BuildArch: noarch
Source0: https://github.com/mdevctl/mdevctl/archive/%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/mdevctl/mdevctl/archive/%{version}/%{name}-%{version}-vendor.tar.gz
ExclusiveArch: %{rust_arches}
BuildRequires: make
BuildRequires: systemd
BuildRequires: rust-toolset
Requires(post,postun): %{_sbindir}/udevadm
Requires: coreutils udev jq
%description
mdevctl is a utility for managing and persisting devices in the
@ -24,9 +26,15 @@ vfio-mdev for assignment to virtual machines.
%prep
%setup -q -n %{name}-%{version}
%cargo_prep -V 1
%build
%cargo_build
%install
%make_install
%check
%cargo_test
%files
%license COPYING
@ -37,8 +45,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
* Thu Nov 18 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 1.1.0-1
- Rebase mdevctl to 1.1.0
Resolves: rhbz#1999686
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.78-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688

View File

@ -1 +1,2 @@
SHA512 (mdevctl-0.78.tar.gz) = 0f743a1045fcac6cce873606ee517ea6312ed294b9731b7c2288cf55ad8fe830b4a020f957edcb7e918756783a1a39d6740ab0295577b1829af46aaab9d9ac07
SHA512 (mdevctl-1.1.0.tar.gz) = f1fa3503a24baafa1377b2a209d85a3d112845c339a40c4db53478d61fd4bd671ee9975c025802a0097d87aab4ed72c8ce910c5dde3f215d4e97d584d10d024c
SHA512 (mdevctl-1.1.0-vendor.tar.gz) = f573b43e36550ac132dae802217fe7eeeb381d5af155a51ddedc0e2a6f2b59cd2616b9dcae9002c7d134051c8907756e338de037b5018c5a7e9a7d01191cc3ab