diff --git a/.gitignore b/.gitignore index 22b7795..4a97817 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /opaque-debug-0.2.2.crate /opaque-debug-0.2.3.crate /opaque-debug-0.3.0.crate +/opaque-debug-0.3.1.crate diff --git a/rust-opaque-debug.spec b/rust-opaque-debug.spec index 6dcad6b..52154d9 100644 --- a/rust-opaque-debug.spec +++ b/rust-opaque-debug.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate opaque-debug Name: rust-opaque-debug -Version: 0.3.0 +Version: 0.3.1 Release: %autorelease Summary: Macro for opaque Debug trait implementation @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/opaque-debug Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Macro for opaque Debug trait implementation.} @@ -32,6 +32,8 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -47,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/sources b/sources index ae8f94d..eef2050 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (opaque-debug-0.3.0.crate) = 9909b06668a4f97b4d0e916de3e1d0a922a5a0b911a7ce190de786f62ceaccd382cbd0dbe01ab0f15e5472c10848482da2307a6d897928b6b7d5365bc0321cae +SHA512 (opaque-debug-0.3.1.crate) = f325214d604e74197ddd9209a596851c5bf0c0f3299b79b6267c35e0ff6351205b628fb5086279684fbb29fd07746c91ede4f45019657e761d8400fef2b3d8bf