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

A new commit has been pushed.

Repo   : rpms/rust-humantime-serde
Branch : rawhide
Commit : 3f35a9015ea8e85ecb7c114d8f695cfdfb446efd
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-29T22:49:49+02:00
Stats  : +24/-11 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-humantime-serde/c/3f35a9015ea8e85ecb7c114d8f695cfdfb446efd?branch=rawhide

Log:
Regenerate with rust2rpm v28

---
diff --git a/README.md b/README.md
deleted file mode 100644
index 5768c97..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-humantime-serde
-
-The rust-humantime-serde package

diff --git a/humantime-serde-fix-metadata.diff b/humantime-serde-fix-metadata.diff
index 1ab94f9..5ec764d 100644
--- a/humantime-serde-fix-metadata.diff
+++ b/humantime-serde-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- humantime-serde-1.1.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ humantime-serde-1.1.1/Cargo.toml	2022-08-10T20:10:05.848869+00:00
++++ humantime-serde-1.1.1/Cargo.toml	2026-07-29T20:47:23.567787+00:00
 @@ -29,4 +29,4 @@
  version = "1.0"
  

diff --git a/rust-humantime-serde.spec b/rust-humantime-serde.spec
index b9652fa..c059851 100644
--- a/rust-humantime-serde.spec
+++ b/rust-humantime-serde.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 humantime-serde
@@ -16,9 +16,7 @@ Source:         %{crates_source}
 # * bump version-sync dev-dependency from 0.8 to 0.9
 Patch:          humantime-serde-fix-metadata.diff
 
-ExclusiveArch:  %{rust_arches}
-
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Serde support for the `humantime` crate.}
@@ -53,7 +51,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
@@ -68,7 +66,10 @@ use the "default" feature of the "%{crate}" crate.
 %if %{with check}
 %check
 # * ignore failing tests that are only useful as upstream pre-release checklist
-%cargo_test -- -- --skip test::test_html_root_url --skip test::test_readme_deps
+%{cargo_test -- -- --exact %{shrink:
+    --skip test::test_html_root_url
+    --skip test::test_readme_deps
+}}
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..b52b49d
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,15 @@
+[package]
+cargo-toml-patch-comments = [
+    "bump version-sync dev-dependency from 0.8 to 0.9",
+]
+
+[tests]
+skip = [
+    "test::test_html_root_url",
+    "test::test_readme_deps",
+]
+skip-exact = true
+comments = [
+    "ignore failing tests that are only useful as upstream pre-release checklist",
+]
+

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

only message in thread, other threads:[~2026-07-29 20:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 20:50 [rpms/rust-humantime-serde] 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