diff --git a/rust-signal-hook.spec b/rust-signal-hook.spec index cd8c6eb..38b7577 100644 --- a/rust-signal-hook.spec +++ b/rust-signal-hook.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate signal-hook Name: rust-%{crate} -Version: 0.3.10 +Version: 0.3.14 Release: %autorelease Summary: Unix signal handling @@ -15,11 +15,8 @@ URL: https://crates.io/crates/signal-hook Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Unix signal handling.} @@ -32,13 +29,15 @@ 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-APACHE LICENSE-MIT -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +45,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}+cc-devel Summary: %{summary} @@ -58,11 +57,11 @@ BuildArch: noarch %description -n %{name}+cc-devel %{_description} -This package contains library source intended for building other packages -which use "cc" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "cc" feature of the "%{crate}" crate. %files -n %{name}+cc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+channel-devel Summary: %{summary} @@ -70,11 +69,11 @@ BuildArch: noarch %description -n %{name}+channel-devel %{_description} -This package contains library source intended for building other packages -which use "channel" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "channel" feature of the "%{crate}" crate. %files -n %{name}+channel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+extended-siginfo-devel Summary: %{summary} @@ -82,11 +81,11 @@ BuildArch: noarch %description -n %{name}+extended-siginfo-devel %{_description} -This package contains library source intended for building other packages -which use "extended-siginfo" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "extended-siginfo" feature of the "%{crate}" crate. %files -n %{name}+extended-siginfo-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+extended-siginfo-raw-devel Summary: %{summary} @@ -94,11 +93,11 @@ BuildArch: noarch %description -n %{name}+extended-siginfo-raw-devel %{_description} -This package contains library source intended for building other packages -which use "extended-siginfo-raw" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "extended-siginfo-raw" feature of the "%{crate}" crate. %files -n %{name}+extended-siginfo-raw-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+iterator-devel Summary: %{summary} @@ -106,11 +105,11 @@ BuildArch: noarch %description -n %{name}+iterator-devel %{_description} -This package contains library source intended for building other packages -which use "iterator" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "iterator" feature of the "%{crate}" crate. %files -n %{name}+iterator-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 b22ce41..d7faed3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (signal-hook-0.3.10.crate) = 3b6949f4cad0a77e6cfba2fb16d7edaf52737419ebd525d5d1905152cc1c73e81d4adb676077b9b6c144b0812ac5059a0f1032fe2c5ed450be2c451b7cf32e9b +SHA512 (signal-hook-0.3.14.crate) = 32ecf012e46b94d3a87f2e56cd4c03a97886013309a4e52ef3e7769ed14b49ae2814bb6346cfc9766525dcf15db4182d260d3c9311134e3e6f5301c58729442a