Accepting request 1160671 from Base:System

- Enable test execution during build
- Modernise cargo packaging usage in spec file

OBS-URL: https://build.opensuse.org/request/show/1160671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thin-provisioning-tools?expand=0&rev=28
This commit is contained in:
Ana Guerrero 2024-03-26 18:24:31 +00:00 committed by Git OBS Bridge
commit 146273dbc1
4 changed files with 11 additions and 14 deletions

View File

@ -1,10 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source."git+https://github.com/jthornber/rio?branch=master"]
git = "https://github.com/jthornber/rio"
branch = "master"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 22 12:23:46 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Enable test execution during build
- Modernise cargo packaging usage in spec file
-------------------------------------------------------------------
Mon Feb 26 18:02:16 UTC 2024 - Martin Pluskal <mpluskal@suse.com>

View File

@ -24,7 +24,6 @@ License: GPL-3.0-only
URL: https://github.com/jthornber/thin-provisioning-tools/
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: suse-module-tools
Requires(post): coreutils
@ -36,7 +35,6 @@ A suite of tools for thin provisioning on Linux.
%prep
%autosetup -a1
install -D -m 644 %{SOURCE2} .cargo/config
%build
%{cargo_build}
@ -44,6 +42,9 @@ install -D -m 644 %{SOURCE2} .cargo/config
%install
%{cargo_install}
%check
%{cargo_test}
%post
%{?regenerate_initrd_post}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a515c0d9fe6a64a4c138deb7e86caef0e5261d8261c1e165f8e8f6bf00caa9a
size 13529386
oid sha256:f4e067758378e68ab8dd699ca15b98ef81dbb01f655c570f95e428868c152b25
size 13580509