diff --git a/.gitignore b/.gitignore index 8c6f9a8..df85fdc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /rustfix-0.5.1.crate /rustfix-0.6.0.crate /rustfix-0.6.1.crate +/rustfix-0.8.2.crate diff --git a/rust-rustfix.spec b/rust-rustfix.spec index 3162320..28e75aa 100644 --- a/rust-rustfix.spec +++ b/rust-rustfix.spec @@ -1,21 +1,19 @@ -# Generated by rust2rpm 24 -# * dev-dependencies are outdated -%bcond_with check +# Generated by rust2rpm 26 +%bcond_without check %global debug_package %{nil} %global crate rustfix Name: rust-rustfix -Version: 0.6.1 +Version: 0.8.2 Release: %autorelease Summary: Automatically apply the suggestions made by rustc -# Upstream license specification: Apache-2.0/MIT -License: Apache-2.0 OR MIT +License: MIT OR Apache-2.0 URL: https://crates.io/crates/rustfix Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Automatically apply the suggestions made by rustc.} @@ -34,8 +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 +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -51,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 bbb6c5e..1e9c0a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustfix-0.6.1.crate) = 17113d1349a0caff8c93888d5cc8bcf943b9ab9033e87e9851473ffc115d4721125225d433384c375fc0df00edf3d4b6388ee507d0fa0c95b7a6c22e020cdeaf +SHA512 (rustfix-0.8.2.crate) = ac3fc1a2bcc1f844400297a8ec6880921fbdc3ca560bc025dd9ea01bbfb94c4b0bb6abab56b1e5980ed298f5aca5ae2df33a0647ebd8bb323d266e739c19b077