diff --git a/.gitignore b/.gitignore index ee2b1fa..0458677 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/dua-cli-2.20.1.crate +SOURCES/dua-cli-2.20.3.crate diff --git a/.rust-dua-cli.metadata b/.rust-dua-cli.metadata index 7513399..3467334 100644 --- a/.rust-dua-cli.metadata +++ b/.rust-dua-cli.metadata @@ -1 +1 @@ -7baab81515aee8db7d8f11e541fcb84f519bd0cf SOURCES/dua-cli-2.20.1.crate +544a3aa420e69360664580f18626740018d61639 SOURCES/dua-cli-2.20.3.crate diff --git a/SOURCES/dua-cli-fix-metadata.diff b/SOURCES/dua-cli-fix-metadata.diff deleted file mode 100644 index 678d6a0..0000000 --- a/SOURCES/dua-cli-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- dua-cli-2.20.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ dua-cli-2.20.1/Cargo.toml 2023-07-21T18:29:52.618671+00:00 -@@ -75,7 +75,7 @@ - version = "1.10.0" - - [dependencies.open] --version = "3.0" -+version = "4.0" - optional = true - - [dependencies.owo-colors] diff --git a/SOURCES/rust2rpm.conf b/SOURCES/rust2rpm.conf deleted file mode 100644 index 6700165..0000000 --- a/SOURCES/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Tool to conveniently learn about the disk usage of directories diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..2b3f040 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,6 @@ +[package] +summary = "Tool to conveniently learn about the disk usage of directories" + +[tests] +comments = ["neither test files nor test code is included in published crates"] +run = ["none"] diff --git a/SPECS/rust-dua-cli.spec b/SPECS/rust-dua-cli.spec index 8a3c691..f02cdca 100644 --- a/SPECS/rust-dua-cli.spec +++ b/SPECS/rust-dua-cli.spec @@ -1,5 +1,5 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.3.5) +## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; @@ -8,25 +8,22 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * neither test files nor test code is included in published crates %bcond_with check %global crate dua-cli Name: rust-dua-cli -Version: 2.20.1 +Version: 2.20.3 Release: %autorelease Summary: Tool to conveniently learn about the disk usage of directories License: MIT URL: https://crates.io/crates/dua-cli Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * bump open dependency from 3.0 to 4.0 -Patch: dua-cli-fix-metadata.diff -BuildRequires: rust-packaging >= 23 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A tool to conveniently learn about the disk usage of directories, fast!.} @@ -36,12 +33,11 @@ A tool to conveniently learn about the disk usage of directories, fast!.} %package -n %{crate} Summary: %{summary} # Apache-2.0 OR MIT -# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # Zlib OR Apache-2.0 OR MIT -License: MIT AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) +License: MIT AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} @@ -201,7 +197,7 @@ use the "unicode-segmentation" 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 @@ -209,7 +205,7 @@ use the "unicode-segmentation" feature of the "%{crate}" crate. %build %cargo_build -%cargo_license_summary +%{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install @@ -221,6 +217,11 @@ use the "unicode-segmentation" feature of the "%{crate}" crate. %endif %changelog +## START: Generated by rpmautospec +* Thu Jan 18 2024 Michel Lind - 2.20.3-1 +- Update to 2.20.3 +- Convert to rust2rpm.toml + * Mon Jan 15 2024 Arkady L. Shane - 2.20.1-1 - Rebuilt for MSVSphere 9.3 @@ -332,3 +333,4 @@ use the "unicode-segmentation" feature of the "%{crate}" crate. * Mon Feb 24 20:18:39 EET 2020 Artem Polishchuk - 2.3.1-1 - Initial package +## END: Generated by rpmautospec