diff --git a/.gitignore b/.gitignore index fd45298..0976d10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /prodash-25.0.0.crate /prodash-25.0.1.crate /prodash-26.2.2.crate +/prodash-28.0.0.crate diff --git a/prodash-fix-metadata.diff b/prodash-fix-metadata.diff index 4522a7b..9b6888b 100644 --- a/prodash-fix-metadata.diff +++ b/prodash-fix-metadata.diff @@ -1,13 +1,13 @@ ---- prodash-26.2.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ prodash-26.2.2/Cargo.toml 2023-09-18T18:28:28.198603+00:00 -@@ -176,10 +176,6 @@ - +--- prodash-28.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ prodash-28.0.0/Cargo.toml 2024-04-05T16:08:52.699130+00:00 +@@ -162,10 +162,6 @@ [dev-dependencies.blocking] version = "1.0.0" -- + -[dev-dependencies.criterion] -version = "0.5.1" -default-features = false - +- [dev-dependencies.env_logger] version = "0.10.0" + features = ["humantime"] diff --git a/rust-prodash.spec b/rust-prodash.spec index da67d54..5a31062 100644 --- a/rust-prodash.spec +++ b/rust-prodash.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate prodash Name: rust-prodash -Version: 26.2.2 +Version: 28.0.0 Release: %autorelease Summary: Dashboard for visualizing progress of asynchronous and possibly blocking tasks @@ -16,7 +16,7 @@ Source: %{crates_source} # * Drop benchmark dependency Patch: prodash-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A dashboard for visualizing progress of asynchronous and possibly @@ -328,7 +328,7 @@ use the "unit-human" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 838967c..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,13 +0,0 @@ -[DEFAULT] -unwanted-features = - compound_duration - crosstermion - tui - tui-react - render-line - render-line-crossterm - render-line-termion - render-tui - render-tui-crossterm - render-tui-termion - unit-duration diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..3bedef4 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,11 @@ +[features] +hide = [ + "crosstermion", + "tui", + "tui-react", + "render-line", + "render-line-crossterm", + "render-tui", + "render-tui-crossterm", + "unit-duration" +] diff --git a/sources b/sources index 570a433..7e5b62f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (prodash-26.2.2.crate) = 46961db2625c5064dc073e31257758b4b9133c8169380f7e7e30143e648677ae62f3dbd16fe96d1999aa8b94824297184e99baede5f25ddf198535c3f9ec4a6b +SHA512 (prodash-28.0.0.crate) = 36a9099fdb61f604d902d28f7082195891056af916727f7d7b78986dca35539238de0c4816c96ca2c3e74fd04f503c59599988e95be46f0ed87af70ae8ef3c70