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

A new commit has been pushed.

Repo   : rpms/rust-cint
Branch : rawhide
Commit : b39439be8db7a023b8ea0f05518041cbbcd10118
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-25T21:26:39+02:00
Stats  : +43/-14 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cint/c/b39439be8db7a023b8ea0f05518041cbbcd10118?branch=rawhide

Log:
Regenerate with rust2rpm v28

---
diff --git a/rust-cint.spec b/rust-cint.spec
index c1d17f8..4361424 100644
--- a/rust-cint.spec
+++ b/rust-cint.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 cint
@@ -7,19 +7,19 @@
 Name:           rust-cint
 Version:        0.3.1
 Release:        %autorelease
-Summary:        Lean, minimal, and stable set of types for color interoperation between crates in Rust
+Summary:        Lean, minimal, and stable set of types for color interoperation
 
 License:        MIT OR Apache-2.0 OR Zlib
 URL:            https://crates.io/crates/cint
 Source:         %{crates_source}
-# Add license files: https://github.com/fu5ha/cint/pull/2
-Source:         https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-APACHE
-Source:         https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-MIT
-Source:         https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-ZLIB
-# Ignore example in doc test
-Patch:          https://github.com/fu5ha/cint/pull/3.patch
+# * Add license files: https://github.com/fu5ha/cint/pull/2
+Source2:        https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-APACHE
+Source3:        https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-MIT
+Source4:        https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-ZLIB
+# * Ignore example in doc test
+Patch2:         https://github.com/fu5ha/cint/pull/3.patch
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 A lean, minimal, and stable set of types for color interoperation
@@ -68,11 +68,11 @@ use the "bytemuck" 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 -p %SOURCE1 LICENSE-APACHE
-cp -p %SOURCE2 LICENSE-MIT
-cp -p %SOURCE3 LICENSE-ZLIB
+cp -p %{SOURCE2} LICENSE-APACHE
+cp -p %{SOURCE3} LICENSE-MIT
+cp -p %{SOURCE4} LICENSE-ZLIB
 
 %generate_buildrequires
 %cargo_generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..ea466d2
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,29 @@
+[package]
+summary = "Lean, minimal, and stable set of types for color interoperation"
+license-files = ["LICENSE-APACHE", "LICENSE-MIT", "LICENSE-ZLIB"]
+
+[[package.extra-sources]]
+number = 2
+file = "https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-APACHE"
+comments = ["Add license files: https://github.com/fu5ha/cint/pull/2"]
+
+[[package.extra-sources]]
+number = 3
+file = "https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-MIT"
+
+[[package.extra-sources]]
+number = 4
+file = "https://github.com/fu5ha/cint/raw/bd5fb26b1362a2d4e332317a90526b4518fcdb0d/LICENSE-ZLIB"
+
+[[package.extra-patches]]
+number = 2
+file = "https://github.com/fu5ha/cint/pull/3.patch"
+comments = ["Ignore example in doc test"]
+
+[scripts]
+prep.post = [
+    "cp -p %{SOURCE2} LICENSE-APACHE",
+    "cp -p %{SOURCE3} LICENSE-MIT",
+    "cp -p %{SOURCE4} LICENSE-ZLIB",
+]
+

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

only message in thread, other threads:[~2026-08-25 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 19:26 [rpms/rust-cint] 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