Accepting request 1042199 from home:dirkmueller:Factory

- Update to version 1.2.0:
  * Port CLI to clap v3
  * start: provide useful hint for parent with wrong case
  * tests: Add ability to test error messages
  * tests: extract function for checking pass/fail expectations
  * MDev::create() does not need to be public
  * Fix new clippy warning

OBS-URL: https://build.opensuse.org/request/show/1042199
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=15
This commit is contained in:
James Fehlig 2022-12-12 02:07:01 +00:00 committed by Git OBS Bridge
parent a9d6787d6f
commit 3477bf29e2
9 changed files with 39 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">mdevctl</param>
<param name="revision">13084d837490f6c0671e2ab9a275cbe3611750c5</param>
<param name="revision">v1.2.0</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://github.com/mdevctl/mdevctl</param>
@ -14,4 +14,12 @@
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">mdevctl-1.2.0</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">mdevctl-1.2.0</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/mdevctl/mdevctl</param>
<param name="changesrevision">ec4b9a04ce15ad7dccef2dc99b20a53987eb16bc</param></service></servicedata>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d3ac7e9f518806de8b3e1dde81931e883f4bc18e50ebefdcb928fda48ebf9f7
size 38480

3
mdevctl-1.2.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5b2bac4c31cabab99bce751a5b60cdab50514a19d0442bdb564105e8055309d
size 38884

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Dec 11 18:19:52 UTC 2022 - dmueller@suse.com
- Update to version 1.2.0:
* Port CLI to clap v3
* start: provide useful hint for parent with wrong case
* tests: Add ability to test error messages
* tests: extract function for checking pass/fail expectations
* MDev::create() does not need to be public
* Fix new clippy warning
-------------------------------------------------------------------
Mon Mar 14 19:32:53 UTC 2022 - James Fehlig <jfehlig@suse.com>

View File

@ -17,16 +17,18 @@
Name: mdevctl
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: Mediated device management and persistence utility
License: LGPL-2.1-or-later
URL: https://github.com/mdevctl/mdevctl
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo
BuildRequires: python3-docutils
BuildRequires: rust
BuildRequires: zstd
BuildRequires: pkgconfig(udev)
%description

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0575207b1c37c518420b37557e442c147b7611853a8cd0d3229ac40e4a9876a
size 4907916

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e80f4cab98aba1d1f7e071ba97a06ba8f21ebf85e37b209bba27f9c044e13640
size 7855546