Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

3
.gitignore vendored

@ -5,6 +5,3 @@
/smol_str-0.1.23.crate
/smol_str-0.1.24.crate
/smol_str-0.2.0.crate
/smol_str-0.2.1.crate
/smol_str-0.2.2.crate
/smol_str-0.3.2.crate

@ -1,20 +1,17 @@
# Generated by rust2rpm 27
%bcond check 1
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate smol_str
Name: rust-smol_str
Version: 0.3.2
Version: 0.2.0
Release: %autorelease
Summary: Small-string optimized string type with O(1) clone
License: MIT OR Apache-2.0
URL: https://crates.io/crates/smol_str
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused optional support for borsh
Patch: smol_str-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@ -35,7 +32,6 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
@ -88,7 +84,7 @@ use the "std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
@ -103,7 +99,7 @@ use the "std" feature of the "%{crate}" crate.
%if %{with check}
%check
# * skip a test that requires running rustfmt
%cargo_test -- -- --exact --skip check_code_formatting
%cargo_test -- -- --skip check_code_formatting
%endif
%changelog

@ -1,10 +0,0 @@
[package]
cargo-toml-patch-comments = [
"drop unused optional support for borsh",
]
[tests]
skip = ["check_code_formatting"]
skip-exact = true
comments = ["skip a test that requires running rustfmt"]

@ -1,20 +0,0 @@
--- smol_str-0.3.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ smol_str-0.3.2/Cargo.toml 2024-12-02T17:27:50.402886+00:00
@@ -50,11 +50,6 @@
version = "1.3"
optional = true
-[dependencies.borsh]
-version = "1.4.0"
-optional = true
-default-features = false
-
[dependencies.serde]
version = "1.0"
optional = true
@@ -74,5 +69,4 @@
default = ["std"]
std = [
"serde?/std",
- "borsh?/std",
]

@ -1 +1 @@
SHA512 (smol_str-0.3.2.crate) = 37c4f37d13f20175fc2d0d437c00c4c47581770ceb9bbb0966398686f8723ce0aee7a3a6bad97f76644f12174a2ceffe2b9c8f13fac05c46a7584585ac88b474
SHA512 (smol_str-0.2.0.crate) = a0cc82d782c0fcbf3fec89dd7644bfcbe88a59c715f31e214712dce8baee0294f9200accb3e7a56deb284b746ead7fc716a8534cd8c445fbb3c3269a27f6bc42

Loading…
Cancel
Save