diff --git a/.gitignore b/.gitignore index 7b48a2a..e1f2951 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /serde_stacker-0.1.1.crate /serde_stacker-0.1.3.crate /serde_stacker-0.1.4.crate +/serde_stacker-0.1.5.crate diff --git a/rust-serde_stacker.spec b/rust-serde_stacker.spec index a4a0629..6d73e9b 100644 --- a/rust-serde_stacker.spec +++ b/rust-serde_stacker.spec @@ -1,12 +1,11 @@ -# Generated by rust2rpm 13 -# * serde_stacker(dev) → serde_json(dev) → serde_stacker -%bcond_with check +# Generated by rust2rpm 21 +%bcond_without check %global debug_package %{nil} %global crate serde_stacker Name: rust-%{crate} -Version: 0.1.4 +Version: 0.1.5 Release: %autorelease Summary: Serde adapter that avoids stack overflow by dynamically growing the stack @@ -16,11 +15,8 @@ URL: https://crates.io/crates/serde_stacker Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Serde adapter that avoids stack overflow by dynamically growing the stack.} @@ -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-MIT LICENSE-APACHE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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/serde_stacker-0.1.0.crate b/serde_stacker-0.1.0.crate deleted file mode 100644 index fe0dc08..0000000 Binary files a/serde_stacker-0.1.0.crate and /dev/null differ diff --git a/sources b/sources index 917dedf..f6dc094 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_stacker-0.1.4.crate) = 4ac2f4df071e41b88ac5cc50da8a61c64b1b173854a18e58cf9568afe9310dd481521655319fa4241a19317090e54529d7c2246f1dd85716b05d35e77ae39d14 +SHA512 (serde_stacker-0.1.5.crate) = f0c74c0189c62da907cf3d58d1f94bd9ad88b14204fd612c3200d7a4a10735933fbb88458d77f88f40f55bd7086e4439dfc545403e134c2084f11bdc84d27dd1