- Update to version 1.0.4:

* Bump version to 1.0.4
  * [build] Update dependencies
  * [all] Fix clippy lints for Rust 1.69.0
  * [build] Drop the nix crate
  * [file_utils] Fix the BLKGETSIZE64 ioctl for 32-bit platoforms
  * [file_utils] Use stat64 explicitly to handle large files on 32-bit systems
  * [write_batcher] Fix compilation error on 32-bit platforms

- Update to version 1.0.4:
  * Rewrite in Rust
  * Multithreaded tools
 * Higher performance io engines (optional io_uring async engine)
  * thin_dump/restore now retains sharing
  * thin_metadata_pack/unpack

OBS-URL: https://build.opensuse.org/package/show/Base:System/thin-provisioning-tools?expand=0&rev=52
This commit is contained in:
Martin Pluskal 2023-06-09 12:18:48 +00:00 committed by Git OBS Bridge
parent 82275f1b40
commit 99cddc16de
9 changed files with 77 additions and 30 deletions

25
_service Normal file
View File

@ -0,0 +1,25 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/jthornber/thin-provisioning-tools.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
<param name="revision">refs/tags/v1.0.4</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">thin-provisioning-tools</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">thin-provisioning-tools</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/jthornber/thin-provisioning-tools.git</param>
<param name="changesrevision">3baa3fa3a3e4f714e6170a4152b186f0fa1d76e1</param></service></servicedata>

15
cargo_config Normal file
View File

@ -0,0 +1,15 @@
[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."git+https://github.com/zowens/crc32c?branch=master"]
git = "https://github.com/zowens/crc32c"
branch = "master"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

BIN
thin-provisioning-tools-0.9.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Jun 9 12:18:33 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.0.4:
* Bump version to 1.0.4
* [build] Update dependencies
* [all] Fix clippy lints for Rust 1.69.0
* [build] Drop the nix crate
* [file_utils] Fix the BLKGETSIZE64 ioctl for 32-bit platoforms
* [file_utils] Use stat64 explicitly to handle large files on 32-bit systems
* [write_batcher] Fix compilation error on 32-bit platforms
-------------------------------------------------------------------
Wed Jun 9 13:29:05 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>

View File

@ -0,0 +1,4 @@
name: thin-provisioning-tools
version: 1.0.4
mtime: 1682418972
commit: 3baa3fa3a3e4f714e6170a4152b186f0fa1d76e1

View File

@ -1,7 +1,7 @@
#
# spec file for package thin-provisioning-tools
#
# Copyright (c) 2021 SUSE LLC
# 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
@ -17,48 +17,32 @@
Name: thin-provisioning-tools
Version: 0.9.0
Version: 1.0.4
Release: 0
Summary: Thin Provisioning Tools
License: GPL-3.0-only
Group: System/Base
URL: https://github.com/jthornber/thin-provisioning-tools/
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libaio-devel
BuildRequires: libboost_headers-devel
BuildRequires: libboost_iostreams-devel
BuildRequires: libexpat-devel
BuildRequires: libtool
BuildRequires: ncurses-devel
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: suse-module-tools
Requires(post): coreutils
Requires(postun):coreutils
Requires(postun): coreutils
Conflicts: device-mapper < 1.02.115
%description
A suite of tools for thin provisioning on Linux.
%prep
%autosetup
%autosetup -a1
install -D -m 644 %{SOURCE2} .cargo/config
%build
export CXXFLAGS="${CXXFLAGS} -fPIC"
export LDFLAGS="-pie"
autoreconf -fiv
%configure \
--bindir=%{_sbindir} \
--enable-testing \
--enable-dev-tools \
--with-optimisation="%{optflags}" \
# In generated Makefile V=@ is used, in order to achieve verbose build ve
# must override it as V=""
make %{?_smp_mflags} V=""
%{cargo_build}
%install
%make_install STRIP="/bin/true"
%{cargo_install}
%post
%{?regenerate_initrd_post}

3
vendor.tar.zst Normal file
View File

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