diff --git a/.gitignore b/.gitignore index ec88551..623b225 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /tower-layer-0.3.0.crate /tower-layer-0.3.1.crate +/tower-layer-0.3.2.crate diff --git a/rust-tower-layer.spec b/rust-tower-layer.spec index 91f30b9..6b78474 100644 --- a/rust-tower-layer.spec +++ b/rust-tower-layer.spec @@ -1,26 +1,22 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 22 # * resolve dependency loop with tower %bcond_with check %global debug_package %{nil} %global crate tower-layer -Name: rust-%{crate} -Version: 0.3.1 +Name: rust-tower-layer +Version: 0.3.2 Release: %autorelease Summary: Decorates a Service to allow easy composition -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/tower-layer Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Decorates a Service to allow easy composition between Services.} @@ -33,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 -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 86ea036..8b3eb09 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tower-layer-0.3.1.crate) = 3f77912d24957363447f8e388acc24d86df1ea565970a1626d3653c67daeeb4dfe2d631d2287bfe5a80a0e210d773ba1418e73058fa1e5ebc59aea571abe5f81 +SHA512 (tower-layer-0.3.2.crate) = d5429b40569f67937e752c2d61c39a474af32bea5ba3940dbdf5a4037fde1ef7173cbd8fcdb87d0ea15c01bf84f2d55abd51fefbab2f27aa54e656eb1748c43e