From d20fa2c8440cfee0580555e38b9772c49fc3a2b2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 23:11:46 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-syntect.spec | 44 ++++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/rust-syntect.spec b/rust-syntect.spec index 58788a6..c02f337 100644 --- a/rust-syntect.spec +++ b/rust-syntect.spec @@ -1,47 +1,29 @@ -# Generated by rust2rpm -# * criterion is not packaged yet -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate syntect Name: rust-%{crate} Version: 3.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for high quality syntax highlighting and code intelligence +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/syntect Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0) -BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0) -BuildRequires: (crate(flate2/default) >= 1.0.0 with crate(flate2/default) < 2.0.0) -BuildRequires: (crate(fnv/default) >= 1.0.0 with crate(fnv/default) < 2.0.0) -BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) -BuildRequires: (crate(lazycell/default) >= 1.0.0 with crate(lazycell/default) < 2.0.0) -BuildRequires: (crate(onig/default) >= 4.1.0 with crate(onig/default) < 5.0.0) -BuildRequires: (crate(plist/default) >= 0.4.0 with crate(plist/default) < 0.5.0) -BuildRequires: (crate(regex-syntax/default) >= 0.6.0 with crate(regex-syntax/default) < 0.7.0) -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) -BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) -BuildRequires: (crate(walkdir/default) >= 2.0.0 with crate(walkdir/default) < 3.0.0) -BuildRequires: (crate(yaml-rust/default) >= 0.4.0 with crate(yaml-rust/default) < 0.5.0) -%if %{with check} -BuildRequires: (crate(criterion/default) >= 0.2.0 with crate(criterion/default) < 0.3.0) -BuildRequires: (crate(getopts/default) >= 0.2.0 with crate(getopts/default) < 0.3.0) -BuildRequires: (crate(pretty_assertions/default) >= 0.6.0 with crate(pretty_assertions/default) < 0.7.0) -BuildRequires: (crate(rayon/default) >= 1.0.0 with crate(rayon/default) < 2.0.0) -BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0) -%endif -%global _description \ -Library for high quality syntax highlighting and code intelligence using\ -Sublime Text's grammars. +%global _description %{expand: +Library for high quality syntax highlighting and code intelligence using +Sublime Text's grammars.} %description %{_description} @@ -255,6 +237,9 @@ which use "yaml-rust" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -267,6 +252,9 @@ which use "yaml-rust" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 23:11:22 CEST 2019 Igor Gnatenko - 3.2.0-2 +- Regenerate + * Sun Mar 10 2019 Igor Gnatenko - 3.2.0-1 - Update to 3.2.0