From f6c1b9025168531e043d6852267481af049ab346 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 22 Nov 2019 17:56:18 -0800 Subject: [PATCH] Update to 0.1.1 --- .gitignore | 1 + rust-serde_stacker.spec | 24 ++++++++++++++---------- sources | 1 + 3 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b889ce6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/serde_stacker-0.1.1.crate diff --git a/rust-serde_stacker.spec b/rust-serde_stacker.spec index 5dc1ef0..ec529b3 100644 --- a/rust-serde_stacker.spec +++ b/rust-serde_stacker.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm 10 # * serde_stacker(dev) → serde_json(dev) → serde_stacker %bcond_with check %global debug_package %{nil} @@ -6,8 +6,8 @@ %global crate serde_stacker Name: rust-%{crate} -Version: 0.1.0 -Release: 2%{?dist} +Version: 0.1.1 +Release: 1%{?dist} Summary: Serde adapter that avoids stack overflow by dynamically growing the stack # Upstream license specification: MIT OR Apache-2.0 @@ -16,16 +16,14 @@ URL: https://crates.io/crates/serde_stacker Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(stacker/default) >= 0.1.0 with crate(stacker/default) < 0.2.0) -%if %{with check} -BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) -%endif -%global _description \ -Serde adapter that avoids stack overflow by dynamically growing the stack. +%global _description %{expand: +Serde adapter that avoids stack overflow by dynamically growing the stack.} %description %{_description} @@ -59,6 +57,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -71,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 23 2019 Josh Stone - 0.1.1-1 +- Update to 0.1.1 + * Fri Jul 26 2019 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources new file mode 100644 index 0000000..560b0d0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (serde_stacker-0.1.1.crate) = c651b066557dce87370d78688693929ee12f8958510d22d9bfd7334c3ea34688580f16a1ac81c886ede57e84e882966cecc26d133c3d1e698d930efa4d879845