diff --git a/rust-serial_test.spec b/rust-serial_test.spec index a4d5bf4..7a7559e 100644 --- a/rust-serial_test.spec +++ b/rust-serial_test.spec @@ -5,16 +5,13 @@ %global crate serial_test Name: rust-serial_test -Version: 3.0.0 +Version: 3.1.1 Release: %autorelease Summary: Allows for the creation of serialised Rust tests License: MIT URL: https://crates.io/crates/serial_test 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 @@ -61,6 +58,42 @@ use the "async" feature of the "%{crate}" crate. %files -n %{name}+async-devel %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 Summary: %{summary} BuildArch: noarch @@ -121,6 +154,18 @@ use the "logging" feature of the "%{crate}" crate. %files -n %{name}+logging-devel %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 %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/serial_test-fix-metadata.diff b/serial_test-fix-metadata.diff deleted file mode 100644 index e214221..0000000 --- a/serial_test-fix-metadata.diff +++ /dev/null @@ -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"] diff --git a/sources b/sources index 0cddc29..809e3f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serial_test-3.0.0.crate) = b743748496b188ef8078204c5ff25823f1aadf50299a353a2afbac5014fd025dcf9b86f63343098f7bc1399866b4841399389bae586b088b69dd75cf23c27cef +SHA512 (serial_test-3.1.1.crate) = 6c339aa658625ecb561f000247df185ff98eb3d9d117fc32c3c57f83fb5d02c4e45fba53d9f53457f87f2e7e635f581d5c4fde48cff6971fe17619307b487aea