diff --git a/rust-signal-hook.spec b/rust-signal-hook.spec index 97e39c4..38b7577 100644 --- a/rust-signal-hook.spec +++ b/rust-signal-hook.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate signal-hook Name: rust-%{crate} -Version: 0.3.13 +Version: 0.3.14 Release: %autorelease Summary: Unix signal handling @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Unix signal handling.} @@ -33,9 +33,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.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} @@ -47,7 +49,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 %package -n %{name}+cc-devel Summary: %{summary} @@ -59,7 +61,7 @@ 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} @@ -71,7 +73,7 @@ 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} @@ -83,7 +85,7 @@ 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} @@ -95,7 +97,7 @@ 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} @@ -107,7 +109,7 @@ 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 91dffba..d7faed3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (signal-hook-0.3.13.crate) = c4632d31ca158fdfba5da44585f0d6211469ee17b7e22d86688af11b4ed976b0134e87e0ad686dc2e5a8fac0ecb08838108080ac875a7b55322e0735ff1ccfdb +SHA512 (signal-hook-0.3.14.crate) = 32ecf012e46b94d3a87f2e56cd4c03a97886013309a4e52ef3e7769ed14b49ae2814bb6346cfc9766525dcf15db4182d260d3c9311134e3e6f5301c58729442a