diff --git a/.gitignore b/.gitignore index 66ddee4..9d5422e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /below_derive-0.4.1.crate /below_derive-0.5.0.crate +/below_derive-0.6.3.crate diff --git a/rust-below_derive.spec b/rust-below_derive.spec index 18b133d..969550a 100644 --- a/rust-below_derive.spec +++ b/rust-below_derive.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate below_derive -Name: rust-%{crate} -Version: 0.5.0 +Name: rust-below_derive +Version: 0.6.3 Release: %autorelease Summary: Proc macros for below -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: https://crates.io/crates/below_derive Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Proc macros for below.} @@ -33,8 +30,8 @@ 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 +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,7 +43,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 b0a569a..c90c698 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (below_derive-0.5.0.crate) = f6cdf415d252d75ad6f1e3d18c39d576ed17b40fa878100b7480e7c783537528d0c6f1ccab6c3202dcf37847b52034369e31d2310febb4aedc2e1a21fdc14ba4 +SHA512 (below_derive-0.6.3.crate) = 9daf563448622ccd5b3be37b594a985fb5a00d2ae8e375bc94e4fa54ca63c869623bf8b0f74f2df7e6e049bf6e0d2a43ccba89f321138c416c916169f9048bea