diff --git a/.gitignore b/.gitignore index af9102d..ab6b4fd 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /hashlink-0.6.0.crate /hashlink-0.7.0.crate +/hashlink-0.8.1.crate diff --git a/rust-hashlink.spec b/rust-hashlink.spec index 8dc8c43..41b0276 100644 --- a/rust-hashlink.spec +++ b/rust-hashlink.spec @@ -1,29 +1,23 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate hashlink -Name: rust-%{crate} -Version: 0.7.0 +Name: rust-hashlink +Version: 0.8.1 Release: %autorelease Summary: HashMap-like containers that hold their key-value pairs in a user controllable order -# 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/hashlink Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -HashMap-like containers that hold their key-value pairs in a user controllable -order.} +HashMap-like containers that hold their key-value pairs in a user +controllable order.} %description %{_description} @@ -33,13 +27,15 @@ 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-MIT LICENSE-APACHE -%doc README.md CHANGELOG.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} @@ -47,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 %package -n %{name}+serde-devel Summary: %{summary} @@ -59,11 +55,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_impl-devel Summary: %{summary} @@ -71,11 +67,11 @@ BuildArch: noarch %description -n %{name}+serde_impl-devel %{_description} -This package contains library source intended for building other packages -which use "serde_impl" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde_impl" feature of the "%{crate}" crate. %files -n %{name}+serde_impl-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 d29700d..f67b7d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hashlink-0.7.0.crate) = bef02ac4ff270a7021e0da24f6f0a7c2d601c20e2bf347bb4ab24058d97d25fc863d6aaad7971fbb7fb777643f66c7e1af47251acd89e12a123056c0a7810861 +SHA512 (hashlink-0.8.1.crate) = e6b0e843c3dab51225c90b7428fec00c5047d6ea15cb7987d7884271c0da6b5ef66e4d7aff3de764c41ad916724518e9a556b582f6ddc745151d983de0a95155