|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
# * test data is not shipped with published crates
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -6,18 +6,18 @@
|
|
|
|
|
%global crate syntect
|
|
|
|
|
|
|
|
|
|
Name: rust-syntect
|
|
|
|
|
Version: 5.1.0
|
|
|
|
|
Version: 5.2.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Library for high quality syntax highlighting and code intelligence
|
|
|
|
|
Summary: High quality syntax highlighting and code intelligence
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/syntect
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# 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
|
|
|
|
|
Patch: syntect-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Library for high quality syntax highlighting and code intelligence using
|
|
|
|
@ -306,7 +306,7 @@ use the "yaml-rust" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|