diff --git a/.gitignore b/.gitignore index 954db83..3e6aa25 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /debug-helper-0.3.10.crate /debug-helper-0.3.11.crate /debug-helper-0.3.12.crate +/debug-helper-0.3.13.crate diff --git a/rust-debug-helper.spec b/rust-debug-helper.spec index fac23c2..b83ece4 100644 --- a/rust-debug-helper.spec +++ b/rust-debug-helper.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate debug-helper Name: rust-%{crate} -Version: 0.3.12 +Version: 0.3.13 Release: %autorelease Summary: Declarative macros to help you implement the Debug trait manually @@ -15,11 +15,8 @@ URL: https://crates.io/crates/debug-helper Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Declarative macros to help you implement the `Debug` trait manually.} @@ -32,13 +29,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +43,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 643a536..badb8ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (debug-helper-0.3.12.crate) = 1ee20d783044d6df8bc6c4c30472fa1ee97b5887eeeba817eff7b468a2276510b37286fdd94e8f75d828a31ae21f3db6ee82d3777d0b25d47a401a9355530394 +SHA512 (debug-helper-0.3.13.crate) = ccd15cefabbe72659152de3ed29370404e8ed26fb69002349328fdc4123b8cb35658a314c1bf5a213915d4f7e30dea8d923b3252f9e08b0d9d1e8236f62aed96