diff --git a/.gitignore b/.gitignore index 054fec4..5230ffd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /displaydoc-0.2.3.crate /displaydoc-0.2.4.crate +/displaydoc-0.2.5.crate diff --git a/rust-displaydoc.spec b/rust-displaydoc.spec index bc561bf..b72e3b3 100644 --- a/rust-displaydoc.spec +++ b/rust-displaydoc.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate displaydoc Name: rust-displaydoc -Version: 0.2.4 +Version: 0.2.5 Release: %autorelease Summary: Derive macro for implementing the display Trait @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/displaydoc Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A derive macro for implementing the display Trait via a doc comment and @@ -62,7 +62,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/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..be8e5b2 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Derive macro for implementing the display Trait" + diff --git a/sources b/sources index 5885999..4b17e92 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (displaydoc-0.2.4.crate) = a1de2c200584bfac640f8b84b5103d8687919cd29f59a14898e98d480f476a8e4dc06e3b929af479d536cd02186e2a9be72e6414338bc117b97bc0d160029592 +SHA512 (displaydoc-0.2.5.crate) = 5ca35fa59f263162389c1180331e9df607d9374bcb056cb04bc46c98e4d87277162ddb2335ffa8a8c5f69218abc3eabccdcaa71c21b8dd9081cc4146f266b948