diff --git a/.gitignore b/.gitignore index 765fcf9..e1f445d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /syntect-4.5.0.crate /syntect-4.6.0.crate /syntect-5.0.0.crate +/syntect-5.1.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 25148a6..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-syntect - -The rust-syntect package \ No newline at end of file diff --git a/rust-syntect.spec b/rust-syntect.spec index fc1f3b1..c7393a2 100644 --- a/rust-syntect.spec +++ b/rust-syntect.spec @@ -1,24 +1,21 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 # * test data is not shipped with published crates %bcond_with check %global debug_package %{nil} %global crate syntect -Name: rust-%{crate} -Version: 5.0.0 +Name: rust-syntect +Version: 5.1.0 Release: %autorelease 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} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds -Patch0: syntect-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +Patch: syntect-fix-metadata.diff BuildRequires: rust-packaging >= 21 diff --git a/sources b/sources index eade0a8..bb93126 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (syntect-5.0.0.crate) = b444424ad5f2ff9897707d6c2d0a39cf4e48a8d9a838286fc9f7bd9db6f1b4228bd2a5c985f5f88c014e75a7ee94bffdfee1cca45bd68e6db52e624e71923dc9 +SHA512 (syntect-5.1.0.crate) = aa69ff676e020a45b33c0a8015fdea5f60bf4d17313c01ff955bddb82698d14e940be942a40cf5e279a0b047031ab3ba5d0f2bd25dcbecaf89800d62d4b408da diff --git a/syntect-fix-metadata.diff b/syntect-fix-metadata.diff index e7fafad..41ad08d 100644 --- a/syntect-fix-metadata.diff +++ b/syntect-fix-metadata.diff @@ -1,6 +1,6 @@ ---- syntect-5.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ syntect-5.0.0/Cargo.toml 2022-07-21T08:52:25.294808+00:00 -@@ -114,10 +114,6 @@ +--- syntect-5.1.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ syntect-5.1.0/Cargo.toml 2023-08-01T11:46:04.759430+00:00 +@@ -109,10 +109,6 @@ version = "0.4.5" optional = true