Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent cf875728d9
commit d20fa2c844
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,47 +1,29 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# * criterion is not packaged yet %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate syntect %global crate syntect
Name: rust-%{crate} Name: rust-%{crate}
Version: 3.2.0 Version: 3.2.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Library for high quality syntax highlighting and code intelligence Summary: Library for high quality syntax highlighting and code intelligence
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/syntect URL: https://crates.io/crates/syntect
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging 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 \ %global _description %{expand:
Library for high quality syntax highlighting and code intelligence using\ Library for high quality syntax highlighting and code intelligence using
Sublime Text's grammars. Sublime Text's grammars.}
%description %{_description} %description %{_description}
@ -255,6 +237,9 @@ which use "yaml-rust" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -267,6 +252,9 @@ which use "yaml-rust" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 23:11:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.2.0-2
- Regenerate
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.2.0-1 * Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.2.0-1
- Update to 3.2.0 - Update to 3.2.0

Loading…
Cancel
Save