From ae0d64874de556e648a4e8ccb9890250dbe68c14 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 1 Aug 2021 22:47:41 +0200 Subject: [PATCH] Update to version 4.6.0; Fixes RHBZ#1988858 --- .gitignore | 1 + rust-syntect.spec | 9 +++------ sources | 2 +- syntect-fix-metadata.diff | 11 ----------- 4 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 syntect-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 31cb711..e517e58 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /syntect-4.2.0.crate /syntect-4.4.0.crate /syntect-4.5.0.crate +/syntect-4.6.0.crate diff --git a/rust-syntect.spec b/rust-syntect.spec index 1842a7b..542b56d 100644 --- a/rust-syntect.spec +++ b/rust-syntect.spec @@ -1,12 +1,12 @@ # Generated by rust2rpm 18 -# * Missing testdata +# * test data is not shipped with published crates %bcond_with check %global debug_package %{nil} %global crate syntect Name: rust-%{crate} -Version: 4.5.0 +Version: 4.6.0 Release: %autorelease Summary: Library for high quality syntax highlighting and code intelligence @@ -14,9 +14,6 @@ Summary: Library for high quality syntax highlighting and code intelligen License: MIT URL: https://crates.io/crates/syntect Source: %{crates_source} -# Initial patched metadata -# * Update fancy-regex to 0.7, https://github.com/trishume/syntect/issues/343 -Patch0: syntect-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -42,7 +39,7 @@ which use "%{crate}" crate. %files devel %license LICENSE.txt -%doc examples Readme.md DESIGN.md CHANGELOG.md src/highlighting/Readme.md +%doc Readme.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel diff --git a/sources b/sources index e77f23a..6234d5b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (syntect-4.5.0.crate) = 17653ae9baa4da049c899820f6033b3e7d71b96ab70b9c12e57a1ab305d155b12acec470167be2a0a37ea9c89ec4d19850f72d456e6857a7cf4dee65fc288273 +SHA512 (syntect-4.6.0.crate) = 9e320afaf4c2adf41dd7e20c5d95e3063fe8d2774d8deec7e0df3debab050e96a1a5c85d1732c661ee4022dc5bf1abfed2982f13269689b527f35efb2c82beba diff --git a/syntect-fix-metadata.diff b/syntect-fix-metadata.diff deleted file mode 100644 index de3f30d..0000000 --- a/syntect-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- syntect-4.5.0/Cargo.toml 2020-12-09T23:32:03+00:00 -+++ syntect-4.5.0/Cargo.toml 2021-07-24T10:03:30.496025+00:00 -@@ -46,7 +46,7 @@ - version = "1.0.4" - - [dependencies.fancy-regex] --version = "0.3.2" -+version = "0.7" - optional = true - - [dependencies.flate2]