public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-tendril] f43: Update to version 0.5.0; Fixes RHBZ#2428304
Date: Wed, 24 Jun 2026 08:49:50 GMT	[thread overview]
Message-ID: <178229099098.1.7163769361379510912.rpms-rust-tendril-d0d5493e04a9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-tendril
Branch : f43
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=f43

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"

                 reply	other threads:[~2026-06-24  8:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178229099098.1.7163769361379510912.rpms-rust-tendril-d0d5493e04a9@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox