Compare commits
15 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ab26789f08 | |||
| e3c942a6fc | |||
| 8e5cd79a78 | |||
| f48c0b0e3c | |||
| 562efb58ec | |||
| 794d77d27f | |||
| 6c02052e27 | |||
| 397f22d4df | |||
| 327c2cb409 | |||
| 7eaa556116 | |||
| 4b3379d828 | |||
| 5eb577b467 | |||
| b6b428ce96 | |||
| dfc77f01fe | |||
| 8123a43d0f |
23
_service
23
_service
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
||||
BIN
mdevctl-1.3.0.tar.xz
LFS
BIN
mdevctl-1.3.0.tar.xz
LFS
Binary file not shown.
3
mdevctl-1.4.0.tar.gz
Normal file
3
mdevctl-1.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce7d7d79750d82cd38e65f2c3c985e75a52928152202728ae56c58b5ebfeafe6
|
||||
size 62027
|
||||
@@ -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>
|
||||
|
||||
|
||||
27
mdevctl.spec
27
mdevctl.spec
@@ -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
BIN
vendor.tar.zst
LFS
Binary file not shown.
Reference in New Issue
Block a user