thin-provisioning-tools/thin-provisioning-tools.spec
Martin Pluskal dbb529660c - Update to version 1.0.7:
* v1.0.7
  * [thin_generate_metadata] Fix command line parsing
  * [tests] Introduce era_generate_metadata
  * [era] Factor out MetadataGenerator
  * [era_invalidate] Fix missing value_parser for the --written-since option
  * [tests] Support additional program-specific arguments in IO tests
  * [examples] Add a custom emitter examples
  * Remove unnecesary type casting
  * [file_utils] Verify ioctl request code in tests
  * [file_utils] Fix the ioctl request code for the powerpc architecture
  * bump version to 1.0.6
  * [build] Update dependencies
  * [thin_delta] Remove redundant code
  * [thin_delta] Fix range mappings construction
  * [thin_delta] Fix command line parsing
  * [pack/unpack] Fix clippy lints
  * Bump version to v1.05
  * Add some test cases to delta_list
  * [pack/unpack]  Fix some wrapping issues
  * [tests] Ensure the scope of thin_check --super-block-only
  * [tests] Test repairing thin metadata with stale superblock
  * [thin_generate_damage] Support overriding superblock fields
  * [tests] Validate more fields in repaired thin superblock
  * [thin_explore] Fix visiting empty leaves
  * [xml] Improve xml value parsing and error handling
  * [all] Update error messages for xml parsers
  * [build] Update quick-xml to v0.29
  * [build] Update clap to v4.3
  * [build] Update dependencies

OBS-URL: https://build.opensuse.org/package/show/Base:System/thin-provisioning-tools?expand=0&rev=55
2023-11-14 09:24:38 +00:00

65 lines
1.6 KiB
RPMSpec

#
# spec file for package thin-provisioning-tools
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: thin-provisioning-tools
Version: 1.0.7
Release: 0
Summary: Thin Provisioning Tools
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
BuildRequires: vendored_licenses_packager
Requires(post): coreutils
Requires(postun):coreutils
Conflicts: device-mapper < 1.02.115
%description
A suite of tools for thin provisioning on Linux.
%prep
%autosetup -a1
install -D -m 644 %{SOURCE2} .cargo/config
%vendored_licenses_packager_prep
%build
%{cargo_build}
%vendored_licenses_packager_install
%install
%{cargo_install}
%post
%{?regenerate_initrd_post}
%postun
%{?regenerate_initrd_post}
%posttrans
%{?regenerate_initrd_posttrans}
%files
%doc README.md
%license COPYING
%{_bindir}/pdata_tools
%changelog