diff --git a/rust-serial_test.spec b/rust-serial_test.spec index 32b169e..a4d5bf4 100644 --- a/rust-serial_test.spec +++ b/rust-serial_test.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate serial_test Name: rust-serial_test -Version: 2.0.0 +Version: 3.0.0 Release: %autorelease Summary: Allows for the creation of serialised Rust tests @@ -16,7 +16,7 @@ Source: %{crates_source} # * drop doc-specific dependencies (only used when building docs on docs.rs) Patch: serial_test-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Allows for the creation of serialised Rust tests.} @@ -122,7 +122,7 @@ use the "logging" 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/serial_test-fix-metadata.diff b/serial_test-fix-metadata.diff index a61006e..e214221 100644 --- a/serial_test-fix-metadata.diff +++ b/serial_test-fix-metadata.diff @@ -1,6 +1,6 @@ ---- serial_test-2.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ serial_test-2.0.0/Cargo.toml 2023-06-22T15:40:29.434005+00:00 -@@ -34,10 +34,6 @@ +--- serial_test-3.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ serial_test-3.0.0/Cargo.toml 2024-03-22T21:04:32.692620+00:00 +@@ -38,10 +38,6 @@ [dependencies.dashmap] version = "5" @@ -11,7 +11,7 @@ [dependencies.fslock] version = "0.2" -@@ -81,6 +77,5 @@ +@@ -85,6 +81,5 @@ "logging", "async", ] diff --git a/sources b/sources index 1591216..0cddc29 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serial_test-2.0.0.crate) = 65bbba74ddf39c3437b3afa327f7cb1befad12a81e639bc6285608211621b444dbf81edfde8b1b85c708a873c105d27aaf0d2f2d4dcac8872c68d92849c8f3dc +SHA512 (serial_test-3.0.0.crate) = b743748496b188ef8078204c5ff25823f1aadf50299a353a2afbac5014fd025dcf9b86f63343098f7bc1399866b4841399389bae586b088b69dd75cf23c27cef