diff --git a/.gitignore b/.gitignore index b4b76c5..084d993 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /rustc_version-0.2.3.crate /rustc_version-0.3.3.crate /rustc_version-0.4.0.crate +/rustc_version-0.4.1.crate diff --git a/rust-rustc_version.spec b/rust-rustc_version.spec index 63bad66..59177de 100644 --- a/rust-rustc_version.spec +++ b/rust-rustc_version.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate rustc_version Name: rust-rustc_version -Version: 0.4.0 +Version: 0.4.1 Release: %autorelease Summary: Library for querying the version of a installed rustc compiler -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/rustc_version Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A library for querying the version of a installed rustc compiler.} @@ -49,7 +48,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 2cbadfc..22a3c39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustc_version-0.4.0.crate) = f66da7c6efe431db06cd01180d84ba67fcd38f8cd6ef693762957c00ccc2211f23c08079d7f184776e08f28d2d6ca3bdb5f5016f7de245c6193d4722891ba1db +SHA512 (rustc_version-0.4.1.crate) = 7aa8a487ca7411b6d23cae62f7568fa3474a7b1fd1589621071be3428a550ed3b7c4ad68277a8f86849e5900397d7d0e9d678f5d423742a045dc7c660fa6c598