From 17b46d4606ae3dbe72ab501bdcdbf42f5953c40b5aa5d9c5c051acb9c22e1b05 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sun, 20 Oct 2024 03:18:31 +0000 Subject: [PATCH] - Update to version 4.1.0: * lib: move over copy_dir_all as a common utility * cli: move logic as cli stubs * tests: use copy_dir_all as part of lib now instead * roast and raw: improve description of cli options then format * move raw and roast modules to standalone files * cli: add recomprizz args * recomprizz: initial implementation * import termcap * fix: apply clippy lints * tracing: set logic where and when to start properly * apply clippy lints + format * set output path correctly * refactor: canonicalize filter * refactor: canonicalize paths * update deps * reproducibility: set to false by default * fix: additional paths variable should only be a collection of files and not directories * doc: add a warning regarding reproducibility * doc: fix warning msg * doc: fix warning msg * refactor: move mostly to libroast * refactor: improve field naming and description * refactor: remove tracing crate unused imports * minor: raaaaaaaaaaaaawwwwwwww * make names consistent * remove: cliff.toml and git-cliff is an overengineered changelog generator * prepare justfile for publishing * change it to a text file * cli: allow to explicitly tell "true" or "false" using ArgAction::Set and add our service file OBS-URL: https://build.opensuse.org/package/show/Archiving/roast?expand=0&rev=4 --- roast-3.3.1.tar.gz | 3 --- roast-4.1.0.tar.gz | 3 +++ roast.changes | 36 ++++++++++++++++++++++++++++++++++++ roast.spec | 27 ++++++++++++++++++++++++--- vendor.tar.zst | 4 ++-- 5 files changed, 65 insertions(+), 8 deletions(-) delete mode 100644 roast-3.3.1.tar.gz create mode 100644 roast-4.1.0.tar.gz diff --git a/roast-3.3.1.tar.gz b/roast-3.3.1.tar.gz deleted file mode 100644 index d8ee49d..0000000 --- a/roast-3.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:badb7f8ca9e6466d1517df9239aaf83073d822d66c82b471c9188a443629f231 -size 24236 diff --git a/roast-4.1.0.tar.gz b/roast-4.1.0.tar.gz new file mode 100644 index 0000000..1e2a9c5 --- /dev/null +++ b/roast-4.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a70894f37973f0720cda1c6d6bf75d1d7bf5a026d628101050c2a9ec1b6d1f2 +size 24181 diff --git a/roast.changes b/roast.changes index 171dfab..700dea4 100644 --- a/roast.changes +++ b/roast.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Sun Oct 20 03:16:24 UTC 2024 - Soc Virnyl Estela + +- Update to version 4.1.0: + * lib: move over copy_dir_all as a common utility + * cli: move logic as cli stubs + * tests: use copy_dir_all as part of lib now instead + * roast and raw: improve description of cli options then format + * move raw and roast modules to standalone files + * cli: add recomprizz args + * recomprizz: initial implementation + * import termcap + * fix: apply clippy lints + * tracing: set logic where and when to start properly + * apply clippy lints + format + * set output path correctly + * refactor: canonicalize filter + * refactor: canonicalize paths + * update deps + * reproducibility: set to false by default + * fix: additional paths variable should only be a collection of files and not directories + * doc: add a warning regarding reproducibility + * doc: fix warning msg + * doc: fix warning msg + * refactor: move mostly to libroast + * refactor: improve field naming and description + * refactor: remove tracing crate unused imports + * minor: raaaaaaaaaaaaawwwwwwww + * make names consistent + * remove: cliff.toml and git-cliff is an overengineered changelog generator + * prepare justfile for publishing + * change it to a text file + * cli: allow to explicitly tell "true" or "false" using ArgAction::Set and add our service file +- Add new subpackage `obs-service-recomprizz` + * This is a possible drop-in replacement for obs-service-recompress + ------------------------------------------------------------------- Sat Oct 19 08:30:24 UTC 2024 - Soc Virnyl Estela diff --git a/roast.spec b/roast.spec index e8424d7..e18ed77 100644 --- a/roast.spec +++ b/roast.spec @@ -16,9 +16,9 @@ # Name: roast -Version: 3.3.1 +Version: 4.1.0 Release: 0 -Summary: Simple tar archiver and extractor +Summary: Simpler tar archiver and extractor License: MPL-2.0 URL: https://github.com/openSUSE-Rust/roast Source0: https://github.com/openSUSE-Rust/roast/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -27,10 +27,20 @@ BuildRequires: cargo BuildRequires: cargo-packaging BuildRequires: pkgconfig(libzstd) +%package -n obs-service-recomprizz +Version: %{version} +Summary: OBS Source Service for recomprizz-ion +License: MPL-2.0 + +%description -n obs-service-recomprizz +Utility to recompress to other compression formats. + %description Roast is a simple tar archiver and extractor with very high compression settings for supported formats such as zstd. +It also supports recompression from an existing tarball. + %prep %autosetup -a1 @@ -38,9 +48,12 @@ compression settings for supported formats such as zstd. %{cargo_build} %install +mkdir -p %{buildroot}%{_prefix}/lib/obs/service pushd roast-cli %{cargo_install} --bins popd +cp -v %{buildroot}%{_bindir}/recomprizz %{buildroot}%{_prefix}/lib/obs/service/recomprizz +install -m0644 recomprizz.service %{buildroot}%{_prefix}/lib/obs/service %check %{cargo_test} @@ -48,7 +61,15 @@ popd %files %{_bindir}/roast %{_bindir}/raw +%{_bindir}/recomprizz %license LICENCE -%doc CHANGELOG.md README.md +%doc CHANGELOG README.md + +%files -n obs-service-recomprizz +%dir %{_prefix}/lib/obs +%{_prefix}/lib/obs/service/recomprizz +%{_prefix}/lib/obs/service/recomprizz.service +%license LICENCE +%doc CHANGELOG README.md %changelog diff --git a/vendor.tar.zst b/vendor.tar.zst index c33998c..ca3856b 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e9037fbd8508832e2ad2a8140365ac4a7b7296f3520e94b0bc5ad8eb0ef3a9b8 -size 17626514 +oid sha256:77dad7635bb7d129d8f36c8ce85a72b3ec6a1d6ca222f8199008d719a17b1f35 +size 17628215