diff --git a/.gitignore b/.gitignore index 19777b8..3af2442 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /ouroboros-0.11.1.crate /ouroboros-0.12.0.crate /ouroboros-0.13.0.crate +/ouroboros-0.15.0.crate diff --git a/rust-ouroboros.spec b/rust-ouroboros.spec index 7745417..837b648 100644 --- a/rust-ouroboros.spec +++ b/rust-ouroboros.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate ouroboros Name: rust-%{crate} -Version: 0.13.0 +Version: 0.15.0 Release: %autorelease Summary: Easy, safe self-referential struct generation @@ -15,11 +15,8 @@ URL: https://crates.io/crates/ouroboros Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Easy, safe self-referential struct generation.} @@ -32,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 -# crate does neither include README nor LICENSE file -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +# FIXME: no license files detected +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -45,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index b479f33..106ecc0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ouroboros-0.13.0.crate) = 3f5bbf3b9bcb7c8e8f5723ead9d7bc205137973efe7ffe474db707264c4b65e4645d9b9de87e515a1e55831f64d4be719ff7059cf8ed899a71548e3fbfcb0b42 +SHA512 (ouroboros-0.15.0.crate) = 20e1dd42bd5789d3822c7f7d862f69c11695c19475cd943ce049b33184e231dac32d89745cf57a2db822f5f2967ee84b29320f40708612610e336aedb0c08be8