diff --git a/.gitignore b/.gitignore index 0249639..2138b52 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /serde_repr-0.1.14.crate /serde_repr-0.1.15.crate /serde_repr-0.1.16.crate +/serde_repr-0.1.17.crate diff --git a/rust-serde_repr.spec b/rust-serde_repr.spec index 405a121..f2be9da 100644 --- a/rust-serde_repr.spec +++ b/rust-serde_repr.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate serde_repr Name: rust-serde_repr -Version: 0.1.16 +Version: 0.1.17 Release: %autorelease Summary: Derive Serialize and Deserialize for C-like enums @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/serde_repr Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Derive Serialize and Deserialize that delegates to the underlying repr @@ -49,7 +49,7 @@ use the "default" 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 c353f7e..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Derive Serialize and Deserialize for C-like enums diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..a6fba03 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Derive Serialize and Deserialize for C-like enums" + diff --git a/sources b/sources index e55f72a..1abc9f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_repr-0.1.16.crate) = a465f7c6bbf728150b4e6cc26d3b6ecc9b80dc1a303ff473308b57dcb898c832e7f89f825a9ad88997e50f18fad40ee2bd8afd455f92a68ebe2ab1728ecff5dd +SHA512 (serde_repr-0.1.17.crate) = ba1e263b1adf4e400c82a4a5915c5ca7a6d0a7dd6909dc58ce8251fd3e48287557158c5496cd40aa6db35d7fa907c5474b687797f586d5b46b65ee0732a35d91