diff --git a/.gitignore b/.gitignore index 8d76d36..b63d864 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /anstyle-1.0.0.crate /anstyle-1.0.1.crate /anstyle-1.0.3.crate +/anstyle-1.0.4.crate diff --git a/rust-anstyle.spec b/rust-anstyle.spec index 4f35bba..c8dd8d0 100644 --- a/rust-anstyle.spec +++ b/rust-anstyle.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate anstyle Name: rust-anstyle -Version: 1.0.3 +Version: 1.0.4 Release: %autorelease Summary: ANSI text styling @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/anstyle Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: ANSI text styling.} @@ -60,7 +60,7 @@ use the "std" 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/sources b/sources index 5aef110..4c75a88 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anstyle-1.0.3.crate) = f1ac506814e1ce1df537ea8a88ed75f3f897aa9e559ba7eb5a8acfd043641dada12953669153d1f719da28f935a9651a07b5ae1e351139f0f03b58a67bc28477 +SHA512 (anstyle-1.0.4.crate) = 671c6f57106198bcfc2f9000aacba98fabacfadfce2329dfe8d0e0a2af9404da483d7a844ca2b08e1fc0249371f574c13d0082c9f7a4ed90ff581308257a52d3