diff --git a/.gitignore b/.gitignore index f02949c..506f1e0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /bytecheck-0.6.5.crate /bytecheck-0.6.6.crate /bytecheck-0.6.7.crate +/bytecheck-0.6.8.crate diff --git a/rust-bytecheck.spec b/rust-bytecheck.spec index 801f71a..71da024 100644 --- a/rust-bytecheck.spec +++ b/rust-bytecheck.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate bytecheck 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,13 +29,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 -%doc README.md crates-io.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/crates-io.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -43,11 +44,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}+simdutf8-devel Summary: %{summary} @@ -55,11 +56,11 @@ BuildArch: noarch %description -n %{name}+simdutf8-devel %{_description} -This package contains library source intended for building other packages which -use "simdutf8" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "simdutf8" feature of the "%{crate}" crate. %files -n %{name}+simdutf8-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+simdutf8_std-devel Summary: %{summary} @@ -67,11 +68,11 @@ BuildArch: noarch %description -n %{name}+simdutf8_std-devel %{_description} -This package contains library source intended for building other packages which -use "simdutf8_std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "simdutf8_std" feature of the "%{crate}" crate. %files -n %{name}+simdutf8_std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -79,11 +80,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 %package -n %{name}+uuid-devel Summary: %{summary} @@ -91,11 +92,11 @@ BuildArch: noarch %description -n %{name}+uuid-devel %{_description} -This package contains library source intended for building other packages which -use "uuid" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "uuid" feature of the "%{crate}" crate. %files -n %{name}+uuid-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-devel Summary: %{summary} @@ -103,11 +104,11 @@ BuildArch: noarch %description -n %{name}+verbose-devel %{_description} -This package contains library source intended for building other packages which -use "verbose" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "verbose" feature of the "%{crate}" crate. %files -n %{name}+verbose-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 8b94ccc..91d6950 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bytecheck-0.6.7.crate) = 553bf8c6db338131929ebe2478ee6eeafa98ea90533b1e4afcb43be60690ca17bf4ef4c4a5dfb18c316f8f674d3d0ae04efc5811095df9844ead06d0846b3aa4 +SHA512 (bytecheck-0.6.8.crate) = aad27600c361bb54c93c2e11e2ef686842f5938bd3b33160fde1e24a494887ffb71920d04c3abd317526cf1e9b596410ff9a821c8af8b34f2f6679cf97f049be