public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-blsctl] rawhide: Bump serial_test dev-dependency from v0.5 to v3
@ 2026-07-22 15:01 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-22 15:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-blsctl
Branch : rawhide
Commit : d879b0f746e4e1732edf21f0e6c42fd771bbe7c8
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-22T12:38:20+02:00
Stats : +31/-14 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-blsctl/c/d879b0f746e4e1732edf21f0e6c42fd771bbe7c8?branch=rawhide
Log:
Bump serial_test dev-dependency from v0.5 to v3
---
diff --git a/blsctl-fix-metadata.diff b/blsctl-fix-metadata.diff
index c6860f2..becfbdf 100644
--- a/blsctl-fix-metadata.diff
+++ b/blsctl-fix-metadata.diff
@@ -1,11 +1,18 @@
--- blsctl-0.2.3/Cargo.toml 2020-11-12T23:04:14+00:00
-+++ blsctl-0.2.3/Cargo.toml 2023-05-17T10:04:51.958028+00:00
-@@ -20,7 +20,7 @@
++++ blsctl-0.2.3/Cargo.toml 2026-07-22T10:38:00.726694+00:00
+@@ -20,12 +20,12 @@
[lib]
name = "blsctl"
-crate-type = ["lib", "cdylib"]
+crate-type = ["lib"]
[dev-dependencies.serial_test]
- version = "0.5"
+-version = "0.5"
++version = "3"
+ [dev-dependencies.serial_test_derive]
+-version = "0.5"
++version = "3"
+
+ [dev-dependencies.tempfile]
+ version = "3.1.0"
diff --git a/rust-blsctl.spec b/rust-blsctl.spec
index a24b526..b2e391c 100644
--- a/rust-blsctl.spec
+++ b/rust-blsctl.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global crate blsctl
@@ -13,9 +13,11 @@ URL: https://crates.io/crates/blsctl
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused "cdylib" build target
+# * bump serial_test dev-dependency from v0.5 to v3
Patch: blsctl-fix-metadata.diff
-BuildRequires: rust-packaging >= 23
+BuildRequires: cargo-rpm-macros >= 24
+BuildRequires: rpm-devel
%global _description %{expand:
Manages BLS entries and kernel cmdline options.}
@@ -63,16 +65,15 @@ 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
%cargo_generate_buildrequires
-echo 'rpm-devel'
%build
%cargo_build
-%cargo_license_summary
+%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index dab3b78..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-[DEFAULT]
-buildrequires =
- rpm-devel
-lib.requires =
- rpm-devel
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..36d1322
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,14 @@
+[package]
+cargo-toml-patch-comments = [
+ "drop unused \"cdylib\" build target",
+ "bump serial_test dev-dependency from v0.5 to v3",
+]
+
+[requires]
+build = [
+ "rpm-devel",
+]
+lib = [
+ "rpm-devel",
+]
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-22 15:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 15:01 [rpms/rust-blsctl] rawhide: Bump serial_test dev-dependency from v0.5 to v3 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox