From 2b61daf026397157e638399624950b0ef7739180 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 18 Jun 2019 10:34:06 +0200 Subject: [PATCH] Update to 0.4.2 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-plist.spec | 30 +++++++++++++++--------------- sources | 2 +- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index ffa545b..06f44e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /plist-0.3.0.crate /plist-0.4.1.crate +/plist-0.4.2.crate diff --git a/rust-plist.spec b/rust-plist.spec index 2788288..a230008 100644 --- a/rust-plist.spec +++ b/rust-plist.spec @@ -1,34 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate plist Name: rust-%{crate} -Version: 0.4.1 +Version: 0.4.2 Release: 1%{?dist} Summary: Rusty plist parser +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/plist Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(base64/default) >= 0.10.1 with crate(base64/default) < 0.11.0) -BuildRequires: (crate(byteorder/default) >= 1.1.0 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(humantime/default) >= 1.1.1 with crate(humantime/default) < 2.0.0) -BuildRequires: (crate(line-wrap/default) >= 0.1.1 with crate(line-wrap/default) < 0.2.0) -BuildRequires: (crate(serde/default) >= 1.0.2 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(xml-rs/default) >= 0.8.0 with crate(xml-rs/default) < 0.9.0) -%if %{with check} -BuildRequires: (crate(serde_derive/default) >= 1.0.2 with crate(serde_derive/default) < 2.0.0) -%endif -%global _description \ -A rusty plist parser. Supports Serde serialization. +%global _description %{expand: +Rusty plist parser. Supports Serde serialization.} %description %{_description} @@ -74,6 +68,9 @@ which use "serde" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -86,6 +83,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Tue Jun 18 10:33:35 CEST 2019 Igor Gnatenko - 0.4.2-1 +- Update to 0.4.2 + * Sun Feb 10 2019 Igor Gnatenko - 0.4.1-1 - Update to 0.4.1 diff --git a/sources b/sources index 09a1474..8f1118b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (plist-0.4.1.crate) = 062196f66c3ce93cd83a0043d13d6a6173daa9fe57fd5a1c926fafc1c3f0d17b7ac63c2aa81c14a4598f6eb572acd6e3debab5372a3ec51368357806b9ac8b15 +SHA512 (plist-0.4.2.crate) = 667de29732a76dd6d7b9768c3e58edd8c21e62fe5dbbfe9a64a37de5488640aa42c04a8683596eee9a58b02dde1cb0f10e3edb9fc48b3d93e61dda0122357162