diff --git a/.gitignore b/.gitignore index 6739a2e..8c6f9a8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /rustfix-0.5.0.crate /rustfix-0.5.1.crate /rustfix-0.6.0.crate +/rustfix-0.6.1.crate diff --git a/rust-rustfix.spec b/rust-rustfix.spec index 5484307..5c3b502 100644 --- a/rust-rustfix.spec +++ b/rust-rustfix.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 # * dev-dependencies are outdated %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate rustfix Name: rust-%{crate} -Version: 0.6.0 +Version: 0.6.1 Release: %autorelease Summary: Automatically apply the suggestions made by rustc @@ -17,7 +17,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Automatically apply the suggestions made by rustc.} @@ -34,9 +34,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc Changelog.md Readme.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%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 Summary: %{summary} @@ -48,7 +50,7 @@ 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 84fb3aa..bbb6c5e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustfix-0.6.0.crate) = 289511e3d454807015a2b8e869a458d764512754431bcc595cf3e3f147ffdb172a872363988b10a0d699d2de7734cde47901f57df965eee831854653cb35cad4 +SHA512 (rustfix-0.6.1.crate) = 17113d1349a0caff8c93888d5cc8bcf943b9ab9033e87e9851473ffc115d4721125225d433384c375fc0df00edf3d4b6388ee507d0fa0c95b7a6c22e020cdeaf