From f88289c24e66c73fdb3c4d69a574c2e3b0eb477a Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 16 Dec 2019 18:34:38 -0800 Subject: [PATCH] Update to 0.7.0 --- .gitignore | 1 + rust-untrusted.spec | 27 +++++++++++++++++++-------- sources | 2 +- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 24892bc..945652b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /untrusted-0.6.0.crate /untrusted-0.6.1.crate /untrusted-0.6.2.crate +/untrusted-0.7.0.crate diff --git a/rust-untrusted.spec b/rust-untrusted.spec index 5ec6057..e431ea9 100644 --- a/rust-untrusted.spec +++ b/rust-untrusted.spec @@ -1,25 +1,29 @@ -# Generated by rust2rpm +# Generated by rust2rpm 12 %bcond_with check %global debug_package %{nil} %global crate untrusted Name: rust-%{crate} -Version: 0.6.2 -Release: 5%{?dist} +Version: 0.7.0 +Release: 1%{?dist} Summary: Safe and fast parsing of untrusted inputs in Rust +# Upstream license specification: ISC License: ISC URL: https://crates.io/crates/untrusted Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted\ -inputs in Rust. +%global _description %{expand: +Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted +inputs in Rust.} %description %{_description} @@ -33,8 +37,9 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel +%doc README.md %license LICENSE.txt -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,13 +51,16 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 sed -i 's/\r$//' LICENSE.txt %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -65,6 +73,9 @@ sed -i 's/\r$//' LICENSE.txt %endif %changelog +* Tue Dec 17 2019 Josh Stone - 0.7.0-1 +- Update to 0.7.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.6.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index b17a132..ce3162b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (untrusted-0.6.2.crate) = 45ef8c556a13868a13d5bc6aac26281677edc7bc647b03b51a1294cf83d7699c712c1bc0a1453dbea643207f9aede11550aa7b16750d83048f88ac7a8c93b574 +SHA512 (untrusted-0.7.0.crate) = 8551775e5af867bf46e3c9bdf14a0cd394700e40eabd2f8f8494732176814dc40c3de4ac101035434ffcfc593d056559868f7372471a27e4f73dcc1979ec3aea