Update to version 1.11.3; Fixes RHBZ#2331714

epel10 imports/epel10/rust-bstr-1.11.3-1.el10
Fabio Valentini 1 month ago
parent 5a72bf9090
commit 5a8d3428ee
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -23,3 +23,4 @@
/bstr-1.9.1.crate /bstr-1.9.1.crate
/bstr-1.10.0.crate /bstr-1.10.0.crate
/bstr-1.11.0.crate /bstr-1.11.0.crate
/bstr-1.11.3.crate

@ -1,11 +0,0 @@
--- bstr-1.11.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ bstr-1.11.0/Cargo.toml 2024-12-04T22:38:17.432115+00:00
@@ -40,7 +40,7 @@
"text-processing",
"encoding",
]
-license = "MIT OR Apache-2.0"
+license = "(MIT OR Apache-2.0) AND Unicode-DFS-2016"
repository = "https://github.com/BurntSushi/bstr"
resolver = "2"

@ -5,17 +5,13 @@
%global crate bstr %global crate bstr
Name: rust-bstr Name: rust-bstr
Version: 1.11.0 Version: 1.11.3
Release: %autorelease Release: %autorelease
Summary: String type that is not required to be valid UTF-8 Summary: String type that is not required to be valid UTF-8
License: (MIT OR Apache-2.0) AND Unicode-DFS-2016 License: MIT OR Apache-2.0
URL: https://crates.io/crates/bstr URL: https://crates.io/crates/bstr
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * add missing Unicode license terms to crate metadata:
# https://github.com/BurntSushi/bstr/issues/129
Patch: bstr-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
@ -37,7 +33,6 @@ use the "%{crate}" crate.
%license %{crate_instdir}/COPYING %license %{crate_instdir}/COPYING
%license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT %license %{crate_instdir}/LICENSE-MIT
%license %{crate_instdir}/src/unicode/data/LICENSE-UNICODE
%doc %{crate_instdir}/README.md %doc %{crate_instdir}/README.md
%{crate_instdir}/ %{crate_instdir}/
@ -116,7 +111,8 @@ use the "unicode" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
%cargo_test # * test data for unit tests is not included in published crates
%cargo_test -- --doc
%endif %endif
%changelog %changelog

@ -0,0 +1,4 @@
[tests]
run = ["doc"]
comments = ["test data for unit tests is not included in published crates"]

@ -1 +1 @@
SHA512 (bstr-1.11.0.crate) = e4534db9f27184134264dfb16ffc79b7d2374e79ef50400cee4cf44c1e9d7d0b9f7ab8fa034493b5a1ef835c797214bfb399ae95d4b670b3283180fded414ba9 SHA512 (bstr-1.11.3.crate) = f1082ac8f121c6f9eab4b41c5f60aafe4623696c9f800f9d59f6726efc74f86071910f7749fbcdc8f1c20c83416d58f3ff507978775f602e18ae3d1bb027944d

Loading…
Cancel
Save