15 Commits

Author SHA256 Message Date
ab26789f08 Accepting request 1327301 from Virtualization
Update the _service file and add the _servicedata file for easy updates using source services. No code change.

OBS-URL: https://build.opensuse.org/request/show/1327301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=13
2026-01-15 15:43:51 +00:00
e3c942a6fc - Fix up the source services files to function by updating the
_service file and adding a _servicedata file.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=34
2026-01-14 21:32:22 +00:00
8e5cd79a78 Accepting request 1326395 from Virtualization
Convert vendor.tar.gz to vendor.tar.zst to reduce the size of the tarball (jsc#PED-14625)

OBS-URL: https://build.opensuse.org/request/show/1326395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=12
2026-01-12 11:38:43 +00:00
f48c0b0e3c Add missing BuildRequires to spec file.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=32
2026-01-09 18:03:50 +00:00
562efb58ec - Convert vendor.tar.gz to vendor.tar.zst
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=31
2026-01-09 17:21:27 +00:00
794d77d27f - Convert vendor.tar.gz to vendor.tar.rst to reduce the size of the
tarball (jsc#PED-14625)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=30
2026-01-09 17:16:30 +00:00
6c02052e27 Revert the last commit
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=29
2026-01-08 21:28:10 +00:00
397f22d4df - Improve logging so that the file and line number is included in
the log messages (jsc#PED-14625)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=28
2026-01-08 21:18:40 +00:00
327c2cb409 - Improve logging (jsc#PED-14625)
049-Improve-logging.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=27
2026-01-08 21:17:24 +00:00
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
8 changed files with 63 additions and 46 deletions

View File

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

View File

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

View File

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

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,43 @@
-------------------------------------------------------------------
Wed Jan 14 14:28:19 MST 2026 - carnold@suse.com
- Fix up the source services files to function by updating the
_service file and adding a _servicedata file.
-------------------------------------------------------------------
Fri Jan 9 10:14:45 MST 2026 - carnold@suse.com
- Convert vendor.tar.gz to vendor.tar.zst to reduce the size of the
tarball (jsc#PED-14625)
-------------------------------------------------------------------
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) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,15 @@
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
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: python3-docutils
BuildRequires: rust
BuildRequires: zstd
@@ -38,28 +38,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

BIN
vendor.tar.zst LFS

Binary file not shown.