public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-Inflector] rawhide: Regenerate with rust2rpm v28
@ 2026-08-30 20:27 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-30 20:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-Inflector
Branch : rawhide
Commit : 21d1dfa279a41b705b77f724132dde04eb84ee33
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-30T22:26:58+02:00
Stats : +23/-8 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-Inflector/c/21d1dfa279a41b705b77f724132dde04eb84ee33?branch=rawhide
Log:
Regenerate with rust2rpm v28
---
diff --git a/Inflector-fix-metadata.diff b/Inflector-fix-metadata.diff
index 99c464f..54b82c2 100644
--- a/Inflector-fix-metadata.diff
+++ b/Inflector-fix-metadata.diff
@@ -1,5 +1,5 @@
--- Inflector-0.11.4/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ Inflector-0.11.4/Cargo.toml 2023-05-22T18:43:29.948523+00:00
++++ Inflector-0.11.4/Cargo.toml 2026-08-30T20:24:58.385462+00:00
@@ -14,7 +14,7 @@
name = "Inflector"
version = "0.11.4"
diff --git a/rust-Inflector.spec b/rust-Inflector.spec
index ad208d6..b707d2d 100644
--- a/rust-Inflector.spec
+++ b/rust-Inflector.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 Inflector
@@ -11,13 +11,13 @@ Summary: Adds String based inflections for Rust
License: BSD-2-Clause
URL: https://crates.io/crates/Inflector
-Source0: %{crates_source}
-Source1: https://github.com/whatisinternet/Inflector/raw/0.11.3/LICENSE.md
+Source: %{crates_source}
+Source2: https://github.com/whatisinternet/Inflector/raw/0.11.3/LICENSE.md
# Manually created patch for downstream crate metadata changes
# * include license text in the list of installed files
Patch: Inflector-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Adds String based inflections for Rust. Snake, kebab, camel, sentence,
@@ -102,9 +102,9 @@ use the "unstable" 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
-cp -pav %{SOURCE1} .
+cp -pav %{SOURCE2} .
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..acbe5e4
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,15 @@
+[package]
+cargo-toml-patch-comments = [
+ "include license text in the list of installed files",
+]
+license-files = ["LICENSE.md"]
+
+[[package.extra-sources]]
+number = 2
+file = "https://github.com/whatisinternet/Inflector/raw/0.11.3/LICENSE.md"
+
+[scripts]
+prep.post = [
+ "cp -pav %{SOURCE2} .",
+]
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-30 20:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 20:27 [rpms/rust-Inflector] 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