diff --git a/_service b/_service new file mode 100644 index 0000000..99a594a --- /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.4 + + + + *.tar + zst + + + + thin-provisioning-tools + zst + true + + + thin-provisioning-tools + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..be44bef --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/jthornber/thin-provisioning-tools.git + 3baa3fa3a3e4f714e6170a4152b186f0fa1d76e1 \ No newline at end of file diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..77b6c83 --- /dev/null +++ b/cargo_config @@ -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" \ 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.4.tar.zst b/thin-provisioning-tools-1.0.4.tar.zst new file mode 100644 index 0000000..b9d8d0f --- /dev/null +++ b/thin-provisioning-tools-1.0.4.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c09a3894363e1f83151dc160f6cb4a0d324cda23c693717fa18b699fca12918 +size 336123 diff --git a/thin-provisioning-tools.changes b/thin-provisioning-tools.changes index ca0090d..a52acfe 100644 --- a/thin-provisioning-tools.changes +++ b/thin-provisioning-tools.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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..577b24d --- /dev/null +++ b/thin-provisioning-tools.obsinfo @@ -0,0 +1,4 @@ +name: thin-provisioning-tools +version: 1.0.4 +mtime: 1682418972 +commit: 3baa3fa3a3e4f714e6170a4152b186f0fa1d76e1 diff --git a/thin-provisioning-tools.spec b/thin-provisioning-tools.spec index 6be89da..f173d1c 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,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} diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..1aab566 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9fd8b8cd8facdddfb2a69e1be3d4427d0a87493506727b881d437365e51feee +size 23378551