diff --git a/.gitignore b/.gitignore index 9a3f43e..4e7e70f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /wild-2.0.4.crate /wild-2.1.0.crate /wild-2.2.0.crate +/wild-2.2.1.crate diff --git a/rust-wild.spec b/rust-wild.spec index 39831dc..5ab8575 100644 --- a/rust-wild.spec +++ b/rust-wild.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate wild Name: rust-wild -Version: 2.2.0 +Version: 2.2.1 Release: %autorelease Summary: Glob (wildcard) expanded command-line arguments License: Apache-2.0 OR MIT URL: https://crates.io/crates/wild Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: wild-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Glob (wildcard) expanded command-line arguments on Windows.} @@ -61,7 +61,7 @@ use the "glob-quoted-on-windows" 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 3263e1f..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Glob (wildcard) expanded command-line arguments diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..3802739 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Glob (wildcard) expanded command-line arguments" + diff --git a/sources b/sources index 7987a32..48e9fe7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wild-2.2.0.crate) = 12a3484f372b5979715d56afdadc6d9b152ee75c1961fd0352f5cfb500691b526d4fc32bee32af7548cb7e6bb20288a5eae710a473bde9d2065fcbfc3f8de851 +SHA512 (wild-2.2.1.crate) = 8f92b83cb2568fed7841ad372111138d9ea5806c21a0affaecc639f0556ab879ca42fe205fe3c1e55a1b5c1c4fb0b705a5566b06bad5c119a1d41df9c01ed2c9 diff --git a/wild-fix-metadata-auto.diff b/wild-fix-metadata-auto.diff index 6512ebe..77e697f 100644 --- a/wild-fix-metadata-auto.diff +++ b/wild-fix-metadata-auto.diff @@ -1,5 +1,5 @@ ---- wild-2.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ wild-2.2.0/Cargo.toml 2023-09-24T21:13:35.022141+00:00 +--- wild-2.2.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ wild-2.2.1/Cargo.toml 2024-01-30T12:08:56.652349+00:00 @@ -53,9 +53,6 @@ [features] glob-quoted-on-windows = [] @@ -10,3 +10,8 @@ [badges.appveyor] repository = "pornel/wild" +@@ -64,3 +61,4 @@ + + [badges.maintenance] + status = "passively-maintained" ++