diff --git a/_service b/_service new file mode 100644 index 0000000..79b65b5 --- /dev/null +++ b/_service @@ -0,0 +1,25 @@ + + + https://github.com/jthornber/thin-provisioning-tools.git + @PARENT_TAG@ + git + * + v(.*) + enable + refs/tags/v1.0.7 + + + + *.tar + zst + + + + thin-provisioning-tools + zst + true + + + thin-provisioning-tools + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..de88e26 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/jthornber/thin-provisioning-tools.git + 76a8174c9a16647837977344598ad1beabb1a1a9 \ No newline at end of file diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..c92f9ba --- /dev/null +++ b/cargo_config @@ -0,0 +1,10 @@ +[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" \ No newline at end of file diff --git a/thin-provisioning-tools-0.9.0.tar.gz b/thin-provisioning-tools-0.9.0.tar.gz deleted file mode 100644 index 5f27147..0000000 --- a/thin-provisioning-tools-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2508d9933ed8a3f6c8d302280d838d416668a1d914a83c4bd0fb01eaf0676e8 -size 500998 diff --git a/thin-provisioning-tools-1.0.7.tar.zst b/thin-provisioning-tools-1.0.7.tar.zst new file mode 100644 index 0000000..0c1b15a --- /dev/null +++ b/thin-provisioning-tools-1.0.7.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8adaf00d1b31d16cecffe86c58cd43db4b172feac5a11a3348a5a12260a22e4f +size 340819 diff --git a/thin-provisioning-tools.changes b/thin-provisioning-tools.changes index ca0090d..83c7dcc 100644 --- a/thin-provisioning-tools.changes +++ b/thin-provisioning-tools.changes @@ -1,3 +1,62 @@ +------------------------------------------------------------------- +Tue Nov 14 09:09:28 UTC 2023 - Martin Pluskal + +- 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 + * [thin_rmap] Check the input ranges + * [thin_dump/repair] Fix the ordering of found empty roots + * [report] Fix stderr redirection + * [thin_dump/repair] Ensure the tools never fail with repairable metadata + * [build] allow overriding PDATA_TOOLS in Makefile + * [build] fix build on musl + * [thin_stat] Display column headers and further statistics + * [thin_stat] Display data run length statistics for measuring data locality + * [thin_explore] Fix unit conversion for data block size + * [thin_explore] Display space maps usage and roots + * [thin_stat] Fix opening read-only files + * [thin_dump] Fix a regression that cannot keep shared defs with only one predecessor + * [commands] Print out error root cause if available + +------------------------------------------------------------------- +Fri Jun 9 12:18:33 UTC 2023 - Martin Pluskal + +- 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 diff --git a/thin-provisioning-tools.obsinfo b/thin-provisioning-tools.obsinfo new file mode 100644 index 0000000..52ba7af --- /dev/null +++ b/thin-provisioning-tools.obsinfo @@ -0,0 +1,4 @@ +name: thin-provisioning-tools +version: 1.0.7 +mtime: 1698938434 +commit: 76a8174c9a16647837977344598ad1beabb1a1a9 diff --git a/thin-provisioning-tools.spec b/thin-provisioning-tools.spec index 6be89da..feb882f 100644 --- a/thin-provisioning-tools.spec +++ b/thin-provisioning-tools.spec @@ -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,22 +17,15 @@ Name: thin-provisioning-tools -Version: 0.9.0 +Version: 1.0.7 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 @@ -42,23 +35,14 @@ Conflicts: device-mapper < 1.02.115 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} @@ -70,49 +54,8 @@ make %{?_smp_mflags} V="" %{?regenerate_initrd_posttrans} %files +%doc README.md %license COPYING -%{_sbindir}/cache_check -%{_sbindir}/cache_dump -%{_sbindir}/cache_metadata_size -%{_sbindir}/cache_repair -%{_sbindir}/cache_restore -%{_sbindir}/cache_writeback -%{_sbindir}/era_check -%{_sbindir}/era_dump -%{_sbindir}/era_invalidate -%{_sbindir}/era_restore -%{_sbindir}/pdata_tools -%{_sbindir}/thin_check -%{_sbindir}/thin_delta -%{_sbindir}/thin_dump -%{_sbindir}/thin_generate_metadata -%{_sbindir}/thin_ll_dump -%{_sbindir}/thin_ls -%{_sbindir}/thin_metadata_size -%{_sbindir}/thin_repair -%{_sbindir}/thin_restore -%{_sbindir}/thin_rmap -%{_sbindir}/thin_scan -%{_sbindir}/thin_show_duplicates -%{_sbindir}/thin_trim -%{_mandir}/man8/cache_check.8%{?ext_man} -%{_mandir}/man8/cache_dump.8%{?ext_man} -%{_mandir}/man8/cache_metadata_size.8%{?ext_man} -%{_mandir}/man8/cache_repair.8%{?ext_man} -%{_mandir}/man8/cache_restore.8%{?ext_man} -%{_mandir}/man8/cache_writeback.8%{?ext_man} -%{_mandir}/man8/era_check.8%{?ext_man} -%{_mandir}/man8/era_dump.8%{?ext_man} -%{_mandir}/man8/era_invalidate.8%{?ext_man} -%{_mandir}/man8/era_restore.8%{?ext_man} -%{_mandir}/man8/thin_check.8%{?ext_man} -%{_mandir}/man8/thin_delta.8%{?ext_man} -%{_mandir}/man8/thin_dump.8%{?ext_man} -%{_mandir}/man8/thin_ls.8%{?ext_man} -%{_mandir}/man8/thin_metadata_size.8%{?ext_man} -%{_mandir}/man8/thin_repair.8%{?ext_man} -%{_mandir}/man8/thin_restore.8%{?ext_man} -%{_mandir}/man8/thin_rmap.8%{?ext_man} -%{_mandir}/man8/thin_trim.8%{?ext_man} +%{_bindir}/pdata_tools %changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..87aa168 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc6b1984ae75080b119b8ad4f3288f0bef6c108dee465b94252f2acaaa01b582 +size 16947942