diff --git a/.gitignore b/.gitignore index 16f68a4..717a375 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /crates-io-0.32.0.crate /crates-io-0.33.0.crate /crates-io-0.33.1.crate +/crates-io-0.34.0.crate diff --git a/rust-crates-io.spec b/rust-crates-io.spec index a9fbf1d..e350866 100644 --- a/rust-crates-io.spec +++ b/rust-crates-io.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate crates-io -Name: rust-%{crate} -Version: 0.33.1 +Name: rust-crates-io +Version: 0.34.0 Release: %autorelease Summary: Helpers for interacting with crates.io -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/crates-io Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Helpers for interacting with crates.io.} @@ -33,8 +32,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,7 +46,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 4e095fe..70147fb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crates-io-0.33.1.crate) = b4c8cc959dc6156d48218c76d07a36822027d33bd1d097ad7dc7f749c837d2304f74fba7ed4c2b12abf27d76c67260e364d38b6d57b8e2f4b92e5e40c063f798 +SHA512 (crates-io-0.34.0.crate) = 14cd86c9b065ae0a76c33e9b9843979a5058a8fbbb91a1c92ae989df3e0e2f5f598d583a1215f005eb0301fccbe2826acfac7aebb91ae90d9484fdf5e3323de0