public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-insta] f45: Update to version 1.48.0; Fixes RHBZ#2452072
@ 2026-09-01 12:56 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-01 12:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-insta
Branch : f45
Commit : e361bc38b7125e574911b04d85aa9227b0f20287
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-01T08:08:33+01:00
Stats  : +14/-64 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-insta/c/e361bc38b7125e574911b04d85aa9227b0f20287?branch=f45

Log:
Update to version 1.48.0; Fixes RHBZ#2452072

---
diff --git a/insta-fix-metadata.diff b/insta-fix-metadata.diff
deleted file mode 100644
index 8f7e4cd..0000000
--- a/insta-fix-metadata.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- insta-1.46.3/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ insta-1.46.3/Cargo.toml	2026-03-07T12:35:54.572687+00:00
-@@ -117,9 +117,12 @@
- optional = true
- 
- [dependencies.console]
--version = "0.15.4"
-+version = "0.16.0"
- optional = true
- default-features = false
-+features = [
-+    "std",
-+]
- 
- [dependencies.csv]
- version = "1.1.6"
-@@ -150,7 +153,7 @@
- default-features = false
- 
- [dependencies.ron]
--version = "0.12.0"
-+version = ">=0.10.0, <0.13.0"
- optional = true
- 
- [dependencies.serde]
-@@ -165,7 +168,7 @@
- version = "3"
- 
- [dependencies.toml_edit]
--version = "0.23.0"
-+version = ">=0.23.0, <0.25.0"
- features = [
-     "serde",
-     "parse",

diff --git a/rust-insta.spec b/rust-insta.spec
index 0312435..90dc31f 100644
--- a/rust-insta.spec
+++ b/rust-insta.spec
@@ -5,23 +5,13 @@
 %global crate insta
 
 Name:           rust-insta
-Version:        1.46.3
+Version:        1.48.0
 Release:        %autorelease
 Summary:        Snapshot testing library for Rust
 
 License:        Apache-2.0
 URL:            https://crates.io/crates/insta
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * Update console dependency from 0.15.4 to 0.16.0:
-#   https://github.com/mitsuhiko/insta/pull/789
-# * Allow ron 0.10 and 0.11 for now:
-#   https://bugzilla.redhat.com/show_bug.cgi?id=2391241
-# * Remove upper bound on globset, which was pinned in
-#   https://github.com/mitsuhiko/insta/commit/53e209fde72948ab63a60bc144f53ae4a8151441
-#   solely for MSRV reasons
-# * Allow toml_edit 0.24; downstream-only for MSRV reasons
-Patch:          insta-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 %if %{with check}
@@ -239,6 +229,18 @@ use the "serde" feature of the "%{crate}" crate.
 %files       -n %{name}+serde-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+strip-ansi-escapes-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+strip-ansi-escapes-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "strip-ansi-escapes" feature of the "%{crate}" crate.
+
+%files       -n %{name}+strip-ansi-escapes-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %package     -n %{name}+toml-devel
 Summary:        %{summary}
 BuildArch:      noarch

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 9d188ed..a1c9ec3 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,21 +1,3 @@
-[package]
-cargo-toml-patch-comments = [
-    """\
-    Update console dependency from 0.15.4 to 0.16.0: \
-    https://github.com/mitsuhiko/insta/pull/789\
-    """,
-    """\
-    Allow ron 0.10 and 0.11 for now: \
-    https://bugzilla.redhat.com/show_bug.cgi?id=2391241\
-    """,
-    """\
-    Remove upper bound on globset, which was pinned in \
-    https://github.com/mitsuhiko/insta/commit/53e209fde72948ab63a60bc144f53ae4a8151441 \
-    solely for MSRV reasons\
-    """,
-    "Allow toml_edit 0.24; downstream-only for MSRV reasons",
-]
-
 [requires]
 test = ["rustfmt"]
 

diff --git a/sources b/sources
index f543937..c5fe351 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (insta-1.46.3.crate) = 1b21d56e5e89fe5b1b6a681068a8924f3706f4f87701e5f4338e66c1e2bd478d428ebab8524e61d3d5935fd118eb3511a63dc431f8bd94917f0f72209196cd36
+SHA512 (insta-1.48.0.crate) = bee7ea8c5b2b4ac551c50a3d8eee74e3c7636b891d7546d0947c890fd6544e2f1a3724e4cc3fa44b1552b5b389ddc8763784ccf15242bb86271ae6a982c42b20

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

only message in thread, other threads:[~2026-09-01 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01 12:56 [rpms/rust-insta] f45: Update to version 1.48.0; Fixes RHBZ#2452072 Benjamin A. Beasley

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