diff --git a/.gitignore b/.gitignore index 1a3e384..37168f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /bytecheck_derive-0.6.4.crate /bytecheck_derive-0.6.5.crate /bytecheck_derive-0.6.7.crate +/bytecheck_derive-0.6.8.crate diff --git a/rust-bytecheck_derive.spec b/rust-bytecheck_derive.spec index 6ecc92e..aef3d32 100644 --- a/rust-bytecheck_derive.spec +++ b/rust-bytecheck_derive.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate bytecheck_derive Name: rust-%{crate} -Version: 0.6.7 +Version: 0.6.8 Release: %autorelease Summary: Derive macro for bytecheck @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Derive macro for bytecheck.} @@ -29,12 +29,12 @@ 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 +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -42,11 +42,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}+std-devel Summary: %{summary} @@ -54,11 +54,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages which -use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 d0d384c..98312b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bytecheck_derive-0.6.7.crate) = e44c0b39ecca0f3d0809e4146b7f3047b852e738792757411200a507918078a2e8bd934aa92836c8460670a1b18b0f6d7e972d523215deec21f2cce48fbd7751 +SHA512 (bytecheck_derive-0.6.8.crate) = 8a0bac7818d07d68eef52c6214a9e04e16e13ade39a3ccd09c871fea083e232a99d4eff1312f802f8c5a651eb6ded69a439c1204047968e62fee2c6c101bbd8b