diff --git a/.gitignore b/.gitignore index bfd7200..8aae2b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /stacker-0.1.5.crate +/stacker-0.1.6.crate diff --git a/rust-stacker.spec b/rust-stacker.spec index 1718618..d5af8c1 100644 --- a/rust-stacker.spec +++ b/rust-stacker.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm 11 # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -6,8 +6,8 @@ %global crate stacker Name: rust-%{crate} -Version: 0.1.5 -Release: 2%{?dist} +Version: 0.1.6 +Release: 1%{?dist} Summary: Stack growth library useful when implementing deeply recursive algorithms # Upstream license specification: MIT/Apache-2.0 @@ -19,15 +19,15 @@ Source: %{crates_source} Patch0: stacker-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(cc/default) >= 1.0.0 with crate(cc/default) < 2.0.0) -BuildRequires: (crate(cfg-if/default) >= 0.1.6 with crate(cfg-if/default) < 0.2.0) -BuildRequires: (crate(libc/default) >= 0.2.45 with crate(libc/default) < 0.3.0) -%global _description \ -A stack growth library useful when implementing deeply recursive algorithms\ -that may accidentally blow the stack. +%global _description %{expand: +A stack growth library useful when implementing deeply recursive algorithms +that may accidentally blow the stack.} %description %{_description} @@ -61,6 +61,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 @@ -73,6 +76,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Dec 16 2019 Josh Stone - 0.1.6-1 +- Update to 0.1.6 + * Fri Jul 26 2019 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index cf30492..d7b3e0a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (stacker-0.1.5.crate) = 7c1ec524a93694ae2c97dff7fc5fdeb1b54b103747ef9622afc6f02b2f5cdf5324f61104a0a7765c73b7e2ff5b90495aa33705ffd71a73d2f225db7f1395a814 +SHA512 (stacker-0.1.6.crate) = 91eff202e170c8873b16be8e32f855483cdc955477d71df6493c88f8d903b30fc3334b97627829a4bf0a0dde6e0a6c49e17a7bf74ceb90ad6f8f69dce17a2c21 diff --git a/stacker-fix-metadata.diff b/stacker-fix-metadata.diff index d99917c..89a308e 100644 --- a/stacker-fix-metadata.diff +++ b/stacker-fix-metadata.diff @@ -1,7 +1,7 @@ ---- stacker-0.1.5/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ stacker-0.1.5/Cargo.toml 2019-02-03T11:05:33.804677+01:00 -@@ -33,6 +33,3 @@ - version = "0.2.45" +--- stacker-0.1.6/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ stacker-0.1.6/Cargo.toml 2019-12-16T23:12:33.338567+00:00 +@@ -36,6 +36,3 @@ + version = "0.1.5" [build-dependencies.cc] version = "1.0" -[target."cfg(windows)".dependencies.winapi]