public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tendril] epel10: Update to version 0.5.0; Fixes RHBZ#2428304
@ 2026-06-24  8:50 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-24  8:50 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-tendril
Branch : epel10
Commit : d0d5493e04a9479f35e929e5b011e5d1d8b7383e
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-06-20T14:28:53+02:00
Stats  : +16/-54 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-tendril/c/d0d5493e04a9479f35e929e5b011e5d1d8b7383e?branch=epel10

Log:
Update to version 0.5.0; Fixes RHBZ#2428304

---
diff --git a/.gitignore b/.gitignore
index 36aa5c6..0b928a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /tendril-0.4.1.crate
 /tendril-0.4.2.crate
 /tendril-0.4.3.crate
+/tendril-0.5.0.crate

diff --git a/rust-tendril.spec b/rust-tendril.spec
index da138aa..bda7ed4 100644
--- a/rust-tendril.spec
+++ b/rust-tendril.spec
@@ -1,21 +1,19 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate tendril
 
 Name:           rust-tendril
-Version:        0.4.3
+Version:        0.5.0
 Release:        %autorelease
 Summary:        Compact buffer/string type for zero-copy parsing
 
-# Upstream license specification: MIT/Apache-2.0
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/tendril
 Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
-# * drop outdated, example-only rand dev-dependency
-# * drop unused support for the obsolete "encoding" crate
+# * drop unused, benchmark-only criterion dev-dependency
 Patch:          tendril-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -52,18 +50,6 @@ use the "default" feature of the "%{crate}" crate.
 %files       -n %{name}+default-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+bench-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+bench-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "bench" feature of the "%{crate}" crate.
-
-%files       -n %{name}+bench-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %package     -n %{name}+encoding_rs-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -79,8 +65,6 @@ use the "encoding_rs" feature of the "%{crate}" crate.
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep
-# drop unused example program that pulls in outdated dependencies
-rm -rv examples/
 
 %generate_buildrequires
 %cargo_generate_buildrequires
@@ -93,9 +77,7 @@ rm -rv examples/
 
 %if %{with check}
 %check
-# * skip test for exact size of a struct / enum that fails with Rust 1.64+:
-#   https://github.com/servo/tendril/issues/66
-%cargo_test -- -- --skip assert_sizes
+%cargo_test
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 391be85..2cd7101 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,16 +1,5 @@
 [package]
 cargo-toml-patch-comments = [
-    "drop outdated, example-only rand dev-dependency",
-    "drop unused support for the obsolete \"encoding\" crate",
-]
-
-[tests]
-skip = ["assert_sizes"]
-comments = ["skip test for exact size of a struct / enum that fails with Rust 1.64+: https://github.com/servo/tendril/issues/66"]
-
-[scripts]
-prep.post = [
-    "# drop unused example program that pulls in outdated dependencies",
-    "rm -rv examples/",
+    "drop unused, benchmark-only criterion dev-dependency",
 ]
 

diff --git a/sources b/sources
index 04131b4..db84374 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tendril-0.4.3.crate) = 53f074aec6e59717fca280b1764f6c2e0a1c073336f48d012ff268a7189697d42d24a91a6a549c7d9e1fe8b0006e34c219f4dba3cc95247d3905c6f8a6a8186f
+SHA512 (tendril-0.5.0.crate) = 29a4e5a6ae2442b180f147cafbd54460131ac1ae53accc13ed69f03ff357c80cc53f9d333c11c0f34eb0a427df8c66086e3b9b7ede1698b70d15ab2166aaf6f4

diff --git a/tendril-fix-metadata.diff b/tendril-fix-metadata.diff
index d17369e..7be49df 100644
--- a/tendril-fix-metadata.diff
+++ b/tendril-fix-metadata.diff
@@ -1,21 +1,11 @@
---- tendril-0.4.3/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ tendril-0.4.3/Cargo.toml	2024-10-04T12:31:15.531369+00:00
-@@ -17,9 +17,6 @@
- readme = "README.md"
- license = "MIT/Apache-2.0"
- repository = "https://github.com/servo/tendril"
--[dependencies.encoding]
--version = "0.2"
--optional = true
- 
- [dependencies.encoding_rs]
- version = "0.8.12"
-@@ -33,8 +30,6 @@
- 
+--- tendril-0.5.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ tendril-0.5.0/Cargo.toml	2026-06-20T12:27:42.323512+00:00
+@@ -61,8 +61,5 @@
  [dependencies.utf-8]
  version = "0.7"
--[dev-dependencies.rand]
--version = "0.4"
  
- [features]
- bench = []
+-[dev-dependencies.criterion]
+-version = "0.8"
+-
+ [dev-dependencies.rand]
+ version = "0.9"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-24  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24  8:50 [rpms/rust-tendril] epel10: Update to version 0.5.0; Fixes RHBZ#2428304 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox