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

A new commit has been pushed.

Repo   : rpms/rust-textwrap0.11
Branch : f45
Commit : f5bb4ca7957e129f58454d51880ccf18bc6099a7
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-29T17:14:41+02:00
Stats  : +15/-7 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-textwrap0.11/c/f5bb4ca7957e129f58454d51880ccf18bc6099a7?branch=f45

Log:
Regenerate with rust2rpm v28

---
diff --git a/rust-textwrap0.11.spec b/rust-textwrap0.11.spec
index 2f7601c..bde6e74 100644
--- a/rust-textwrap0.11.spec
+++ b/rust-textwrap0.11.spec
@@ -1,6 +1,6 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 28
 # * missing dev-dependencies: lipsum ^0.6, version-sync ^0.6
-%bcond_with check
+%bcond check 0
 %global debug_package %{nil}
 
 %global crate textwrap
@@ -17,7 +17,7 @@ Source:         %{crates_source}
 # * drop unused hyphenation feature (missing dependencies)
 Patch:          textwrap-fix-metadata.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Textwrap is a small library for word wrapping, indenting, and dedenting
@@ -66,7 +66,7 @@ use the "term_size" 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

diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index e77bd81..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[DEFAULT]
-summary = Small library for word wrapping, indenting, and dedenting strings

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..21db644
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,10 @@
+[package]
+summary = "Small library for word wrapping, indenting, and dedenting strings"
+cargo-toml-patch-comments = [
+    "drop unused hyphenation feature (missing dependencies)",
+]
+
+[tests]
+run = false
+comments = ["missing dev-dependencies: lipsum ^0.6, version-sync ^0.6"]
+

diff --git a/textwrap-fix-metadata.diff b/textwrap-fix-metadata.diff
index b823e35..5325e21 100644
--- a/textwrap-fix-metadata.diff
+++ b/textwrap-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- textwrap-0.11.0/Cargo.toml	1970-01-01T00:00:00+00:00
-+++ textwrap-0.11.0/Cargo.toml	2023-06-23T18:54:14.943929+00:00
++++ textwrap-0.11.0/Cargo.toml	2026-08-29T15:13:39.553678+00:00
 @@ -24,10 +24,6 @@
  repository = "https://github.com/mgeisler/textwrap"
  [package.metadata.docs.rs]

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-29 15:23 [rpms/rust-textwrap0.11] f45: 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