diff --git a/.gitignore b/.gitignore index 3697075..1b5d27b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /foreign-types-shared-0.1.1.crate /foreign-types-shared-0.3.0.crate +/foreign-types-shared-0.3.1.crate diff --git a/rust-foreign-types-shared.spec b/rust-foreign-types-shared.spec index c581d97..bcdf72e 100644 --- a/rust-foreign-types-shared.spec +++ b/rust-foreign-types-shared.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate foreign-types-shared Name: rust-%{crate} -Version: 0.3.0 +Version: 0.3.1 Release: %autorelease Summary: Internal crate used by foreign-types @@ -15,11 +15,8 @@ URL: https://crates.io/crates/foreign-types-shared Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Internal crate used by foreign-types.} @@ -32,12 +29,13 @@ 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 -%{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} @@ -45,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index d6e76d2..d1cd58c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (foreign-types-shared-0.3.0.crate) = 7119e31c5733c3d40e7a67af3995ec00480d16d9641d34e439cee977c14007b23ec8bcad36374b24f9ba9b119429b4fc85651c71ccb261201974e087d4fa6a74 +SHA512 (foreign-types-shared-0.3.1.crate) = c68da34b55230941d6655f6a52d5dcb8ee02149f25c25a5ef782402f9a18b33047905f28b70183a5f45b45977c011a5320cf7283b7901c76ede4d82082ca4c9e