From 520c5e7d9103de47732b43d761c6658f611d3333 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 15 Nov 2019 15:32:47 -0800 Subject: [PATCH] Update to 0.3.6 --- .gitignore | 1 + rust-cexpr.spec | 24 ++++++++++++++---------- sources | 2 +- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 6a596df..85065f1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /cexpr-0.3.3.crate /cexpr-0.3.4.crate /cexpr-0.3.5.crate +/cexpr-0.3.6.crate diff --git a/rust-cexpr.spec b/rust-cexpr.spec index 4fb3f49..aefaeff 100644 --- a/rust-cexpr.spec +++ b/rust-cexpr.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm 10 # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -6,8 +6,8 @@ %global crate cexpr Name: rust-%{crate} -Version: 0.3.5 -Release: 2%{?dist} +Version: 0.3.6 +Release: 1%{?dist} Summary: C expression parser and evaluator # Upstream license specification: Apache-2.0/MIT @@ -16,16 +16,14 @@ URL: https://crates.io/crates/cexpr Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(nom/default) >= 4.0.0 with crate(nom/default) < 5.0.0) -BuildRequires: (crate(nom/verbose-errors) >= 4.0.0 with crate(nom/verbose-errors) < 5.0.0) -%if %{with check} -BuildRequires: (crate(clang-sys/default) >= 0.13.0 with crate(clang-sys/default) < 0.29.0) -%endif -%global _description \ -A C expression parser and evaluator. +%global _description %{expand: +A C expression parser and evaluator.} %description %{_description} @@ -58,6 +56,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 @@ -70,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Nov 15 2019 Josh Stone - 0.3.6-1 +- Update to 0.3.6 + * Fri Jul 26 2019 Fedora Release Engineering - 0.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index c709631..4d041c5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cexpr-0.3.5.crate) = a6998959c48045cca2795e28e0bec8ba37214d498b75f5b608cce9b2d94f6ad69009adaca250320c7dc22f05af8cc3f7b9777dce90384575d25bc75b0696d93d +SHA512 (cexpr-0.3.6.crate) = 1f8a6dfe97b70844526ed95f42a38c460ec9056345c4c0fd62c42dc9a52e4a317cab11fc3620419cdb4d0b8eba5d7d225c7b211939a47d4a6019a0518e8c738f