public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-schemafy_core] rawhide: Regenerate with rust2rpm v28
@ 2026-07-31 20:51 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-31 20:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-schemafy_core
Branch : rawhide
Commit : 14c0d9015169212d33da1a33ef99bfa4719bc9d0
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-31T22:51:16+02:00
Stats : +16/-14 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-schemafy_core/c/14c0d9015169212d33da1a33ef99bfa4719bc9d0?branch=rawhide
Log:
Regenerate with rust2rpm v28
---
diff --git a/README.md b/README.md
deleted file mode 100644
index 14856bb..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-schemafy_core
-
-The rust-schemafy_core package
diff --git a/rust-schemafy_core.spec b/rust-schemafy_core.spec
index ea624b4..eb4511e 100644
--- a/rust-schemafy_core.spec
+++ b/rust-schemafy_core.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 22
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate schemafy_core
@@ -12,15 +12,10 @@ Summary: Generates serializeable Rust types from a json schema
License: MIT
URL: https://crates.io/crates/schemafy_core
Source: %{crates_source}
+# * https://github.com/Marwes/schemafy/pull/62
+Patch2: 0001-docs-Add-a-README.md-and-LICENSE.patch
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
-
-# Upstream patches -- official upstream patches released by upstream since the
-# ---------------- last release that are necessary for any reason:
-# Should be fixed in next release - https://github.com/Marwes/schemafy/pull/62
-Patch0001: 0001-docs-Add-a-README.md-and-LICENSE.patch
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Generates serializeable Rust types from a json schema.}
@@ -38,6 +33,7 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
@@ -53,7 +49,7 @@ use the "default" 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.toml b/rust2rpm.toml
new file mode 100644
index 0000000..d4b7129
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,9 @@
+[package]
+license-files = ["LICENSE"]
+doc-files = ["README.md"]
+
+[[package.extra-patches]]
+number = 2
+file = "0001-docs-Add-a-README.md-and-LICENSE.patch"
+comments = ["https://github.com/Marwes/schemafy/pull/62"]
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-31 20:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 20:51 [rpms/rust-schemafy_core] 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