public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-ansi_term] rawhide: Regenerate with rust2rpm v28
@ 2026-08-31 15:27 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-31 15:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-ansi_term
Branch : rawhide
Commit : b39f7b31fadec41851a60efaf025c6c5eb59b20d
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-31T17:26:50+02:00
Stats  : +8/-7 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-ansi_term/c/b39f7b31fadec41851a60efaf025c6c5eb59b20d?branch=rawhide

Log:
Regenerate with rust2rpm v28

---
diff --git a/ansi_term-fix-metadata-auto.diff b/ansi_term-fix-metadata-auto.diff
index cd7e844..92c3ee6 100644
--- a/ansi_term-fix-metadata-auto.diff
+++ b/ansi_term-fix-metadata-auto.diff
@@ -1,9 +1,10 @@
 --- ansi_term-0.12.1/Cargo.toml	1970-01-01T00:00:00+00:00
-+++ ansi_term-0.12.1/Cargo.toml	2023-04-12T17:08:43.360589+00:00
-@@ -38,6 +38,3 @@
++++ ansi_term-0.12.1/Cargo.toml	2026-08-31T15:25:17.886969+00:00
+@@ -38,6 +38,4 @@
  
  [features]
  derive_serde_style = ["serde"]
 -[target."cfg(target_os=\"windows\")".dependencies.winapi]
 -version = "0.3.4"
 -features = ["consoleapi", "errhandlingapi", "fileapi", "handleapi", "processenv"]
++

diff --git a/rust-ansi_term.spec b/rust-ansi_term.spec
index fd29b13..ba983ba 100644
--- a/rust-ansi_term.spec
+++ b/rust-ansi_term.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate ansi_term
@@ -12,10 +12,10 @@ Summary:        Library for ANSI terminal colours and styles (bold, underline)
 License:        MIT
 URL:            https://crates.io/crates/ansi_term
 Source:         %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
 Patch:          ansi_term-fix-metadata-auto.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Library for ANSI terminal colours and styles (bold, underline).}
@@ -73,7 +73,7 @@ use the "serde" feature of the "%{crate}" crate.
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires

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

only message in thread, other threads:[~2026-08-31 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 15:27 [rpms/rust-ansi_term] rawhide: Regenerate with rust2rpm v28 Fabio Valentini

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