diff --git a/.gitignore b/.gitignore index 7341d0b..732d4de 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /tinyvec_macros-0.1.0.crate +/tinyvec_macros-0.1.1.crate diff --git a/rust-tinyvec_macros.spec b/rust-tinyvec_macros.spec index 255af1e..8ace05b 100644 --- a/rust-tinyvec_macros.spec +++ b/rust-tinyvec_macros.spec @@ -1,26 +1,19 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate tinyvec_macros -Name: rust-%{crate} -Version: 0.1.0 +Name: rust-tinyvec_macros +Version: 0.1.1 Release: %autorelease Summary: Some macros for tiny containers -# Upstream license specification: MIT OR Apache-2.0 OR Zlib -# https://github.com/Soveu/tinyvec_macros/issues/1 -License: MIT or ASL 2.0 or zlib +License: MIT OR Apache-2.0 OR Zlib URL: https://crates.io/crates/tinyvec_macros Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Some macros for tiny containers.} @@ -33,12 +26,14 @@ 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 -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE.md +%license %{crate_instdir}/LICENSE-MIT.md +%license %{crate_instdir}/LICENSE-ZLIB.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +41,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 ed7307d..540e75c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tinyvec_macros-0.1.0.crate) = d6afc83a3c70cde916a6ff599e2772588e4bbfa7a5b1c7e5c8aa0f4a8a5c9426182497a644e4a88194ece986d38fa64b6c8eda9eb1630441c8e65a8741a45873 +SHA512 (tinyvec_macros-0.1.1.crate) = 10008c7b3a3d50c94b9c370015b76ee082f5dfb6dcacf014dc2f2dbe92f903618d10d0202b21f48fcf98a94ae76fb712db55a5e8ad353645d378cf0e6ec74f7e