SHA256
1
0
forked from pool/mdevctl

6 Commits

Author SHA256 Message Date
7eaa556116 Accepting request 1291296 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1291296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=11
2025-07-09 15:26:21 +00:00
4b3379d828 Accepting request 1291295 from home:anag_factory:Factory
- Update vendor.tar.gz and Cargo.lock (boo#1244560)

OBS-URL: https://build.opensuse.org/request/show/1291295
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=25
2025-07-08 14:11:28 +00:00
5eb577b467 Accepting request 1246014 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1246014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=10
2025-02-16 21:36:44 +00:00
b6b428ce96 Accepting request 1244993 from home:pgajdos
- Update to version 1.4.0:
  * tests: Print error in assert_result()
  * Improve failure message for live update
  * Check sysfs data UUID in set_sysfs_data()
  * Rename is_sysfs_data_matching() to sysfs_data_matches()
  * Rename load_with_mdev() to load_for_mdev()
  * tests: removing unnecessary chaining
  * Remove MDevSysfsData::active
  * rustify define_command_helper
  * add ability to trigger CI manually
  * mdev: MDevSysfsData.load() without path.exists() check

OBS-URL: https://build.opensuse.org/request/show/1244993
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=23
2025-02-14 20:28:27 +00:00
dfc77f01fe Accepting request 1207268 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1207268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=9
2024-10-13 15:33:08 +00:00
8123a43d0f Accepting request 1207267 from home:ccrane:branches:Virtualization
- Spec: Update to use latest rust packaging tooling. Switch to obs_scm
    service, remove cargo_audit service and cargo_config as it's now 
    handled by the cargo_vendor service. Cleanup spec file to use 
    cargo-packaging tooling where applicable.

OBS-URL: https://build.opensuse.org/request/show/1207267
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=21
2024-10-11 15:10:22 +00:00
9 changed files with 57 additions and 50 deletions

View File

@@ -1,25 +1,26 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">mdevctl</param>
<param name="revision">v1.3.0</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/mdevctl/mdevctl</param>
<param name="scm">git</param>
<param name="filename">mdevctl</param>
<param name="revision">v1.4.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="tar" mode="disabled"/>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">mdevctl-1.3.0</param>
<param name="compression">zst</param>
<param name="srcdir">mdevctl</param>
<param name="compression">gz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">mdevctl-1.3.0</param>
</service>
</services>

View File

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

View File

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

BIN
mdevctl-1.3.0.tar.xz (Stored with Git LFS)

Binary file not shown.

3
mdevctl-1.4.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Tue Jul 8 13:44:36 UTC 2025 - Ana Guerrero <ana.guerrero@suse.com>
- Update vendor.tar.gz and Cargo.lock (boo#1244560)
-------------------------------------------------------------------
Tue Feb 11 08:50:06 UTC 2025 - pgajdos@suse.com
- Update to version 1.4.0:
* tests: Print error in assert_result()
* Improve failure message for live update
* Check sysfs data UUID in set_sysfs_data()
* Rename is_sysfs_data_matching() to sysfs_data_matches()
* Rename load_with_mdev() to load_for_mdev()
* tests: removing unnecessary chaining
* Remove MDevSysfsData::active
* rustify define_command_helper
* add ability to trigger CI manually
* mdev: MDevSysfsData.load() without path.exists() check
-------------------------------------------------------------------
Tue Oct 8 14:13:37 UTC 2024 - Caleb Crane <caleb.crane@suse.com>
- Spec: Update to use latest rust packaging tooling. Switch to obs_scm
service, remove cargo_audit service and cargo_config as it's now
handled by the cargo_vendor service. Cleanup spec file to use
cargo-packaging tooling where applicable.
-------------------------------------------------------------------
Mon Feb 12 17:54:05 UTC 2024 - James Fehlig <jfehlig@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package mdevctl
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,16 @@
Name: mdevctl
Version: 1.3.0
Version: 1.4.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.zst
Source2: cargo_config
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: python3-docutils
BuildRequires: rust
BuildRequires: zstd
BuildRequires: pkgconfig(udev)
%description
@@ -38,28 +36,17 @@ device (e.g. a vGPU) which can be dynamically created and potentially used by
drivers like vfio-mdev for assignment to virtual machines.
%prep
%autosetup -p1
%setup -q -D -T -a 1
mkdir -p cargo-home
cat >cargo-home/config <<EOF
[source.crates-io]
registry = 'https://github.com/rust-lang/crates.io-index'
replace-with = 'vendored-sources'
[source.vendored-sources]
directory = './vendor'
EOF
%autosetup -a1 -p1
%build
export CARGO_HOME=$PWD/cargo-home
cargo build --release %{?_smp_mflags}
%{cargo_build}
%install
%make_install
%{make_install}
%check
export MDEVCTL_LOG=debug RUST_BACKTRACE=full
export CARGO_HOME=$PWD/cargo-home
cargo test
%{cargo_test}
%files
%license COPYING

3
vendor.tar.gz Normal file
View File

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

BIN
vendor.tar.zst (Stored with Git LFS)

Binary file not shown.