Update to version 3.1.1; Fixes RHBZ#2276319

epel10
Fabio Valentini 9 months ago
parent d1de3fe190
commit 35dc32aaa3
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -5,16 +5,13 @@
%global crate serial_test %global crate serial_test
Name: rust-serial_test Name: rust-serial_test
Version: 3.0.0 Version: 3.1.1
Release: %autorelease Release: %autorelease
Summary: Allows for the creation of serialised Rust tests Summary: Allows for the creation of serialised Rust tests
License: MIT License: MIT
URL: https://crates.io/crates/serial_test URL: https://crates.io/crates/serial_test
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop doc-specific dependencies (only used when building docs on docs.rs)
Patch: serial_test-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
@ -61,6 +58,42 @@ use the "async" feature of the "%{crate}" crate.
%files -n %{name}+async-devel %files -n %{name}+async-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+docsrs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+docsrs-devel %{_description}
This package contains library source intended for building other packages which
use the "docsrs" feature of the "%{crate}" crate.
%files -n %{name}+docsrs-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+document-features-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+document-features-devel %{_description}
This package contains library source intended for building other packages which
use the "document-features" feature of the "%{crate}" crate.
%files -n %{name}+document-features-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+env_logger-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+env_logger-devel %{_description}
This package contains library source intended for building other packages which
use the "env_logger" feature of the "%{crate}" crate.
%files -n %{name}+env_logger-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+file_locks-devel %package -n %{name}+file_locks-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -121,6 +154,18 @@ use the "logging" feature of the "%{crate}" crate.
%files -n %{name}+logging-devel %files -n %{name}+logging-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+test_logging-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+test_logging-devel %{_description}
This package contains library source intended for building other packages which
use the "test_logging" feature of the "%{crate}" crate.
%files -n %{name}+test_logging-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep

@ -1,20 +0,0 @@
--- 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"
-
-[dependencies.document-features]
-version = "0.2"
-optional = true
[dependencies.fslock]
version = "0.2"
@@ -85,6 +81,5 @@
"logging",
"async",
]
-docsrs = ["document-features"]
file_locks = ["fslock"]
logging = ["log"]

@ -1 +1 @@
SHA512 (serial_test-3.0.0.crate) = b743748496b188ef8078204c5ff25823f1aadf50299a353a2afbac5014fd025dcf9b86f63343098f7bc1399866b4841399389bae586b088b69dd75cf23c27cef SHA512 (serial_test-3.1.1.crate) = 6c339aa658625ecb561f000247df185ff98eb3d9d117fc32c3c57f83fb5d02c4e45fba53d9f53457f87f2e7e635f581d5c4fde48cff6971fe17619307b487aea

Loading…
Cancel
Save