|
|
@ -1,24 +1,21 @@
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# * test data is not shipped with published crates
|
|
|
|
# * test data is not shipped with published crates
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate syntect
|
|
|
|
%global crate syntect
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-syntect
|
|
|
|
Version: 5.0.0
|
|
|
|
Version: 5.1.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
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}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
Patch0: syntect-fix-metadata.diff
|
|
|
|
Patch: syntect-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|