Update to version 0.6.0; Fixes RHBZ#2056262

epel9
Fabio Valentini 3 years ago
parent 3eb32b928e
commit 774ff90f4f
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,11 +1,11 @@
# Generated by rust2rpm 19
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate serial_test
Name: rust-%{crate}
Version: 0.5.1
Version: 0.6.0
Release: %autorelease
Summary: Allows for the creation of serialised Rust tests
@ -13,13 +13,13 @@ Summary: Allows for the creation of serialised Rust tests
License: MIT
URL: https://crates.io/crates/serial_test
Source: %{crates_source}
# Initial patched metadata
# * drop doc-specific dependencies (only used when building docs on docs.rs)
Patch0: serial_test-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Allows for the creation of serialised Rust tests.}
@ -33,12 +33,12 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use "%{crate}" crate.
use the "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,10 +47,34 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use "the default" feature of the "%{crate}" crate.
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+file_locks-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+file_locks-devel %{_description}
This package contains library source intended for building other packages which
use the "file_locks" feature of the "%{crate}" crate.
%files -n %{name}+file_locks-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+fslock-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+fslock-devel %{_description}
This package contains library source intended for building other packages which
use the "fslock" feature of the "%{crate}" crate.
%files -n %{name}+fslock-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -0,0 +1,21 @@
--- serial_test-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ serial_test-0.6.0/Cargo.toml 2022-04-12T10:01:55.038717+00:00
@@ -20,12 +20,6 @@
categories = ["development-tools::testing"]
license = "MIT"
repository = "https://github.com/palfrey/serial_test/"
-[package.metadata.docs.rs]
-all-features = true
-rustdoc-args = ["--cfg", "docsrs"]
-[dependencies.document-features]
-version = "0.2"
-optional = true
[dependencies.fslock]
version = "0.2"
@@ -42,5 +36,4 @@
[features]
default = []
-docsrs = ["document-features"]
file_locks = ["fslock"]

@ -1 +1 @@
SHA512 (serial_test-0.5.1.crate) = e1a0f7a24981698eaa6bcce8f951863f76e8a2750aff3191104d092a06021c39d4eb2e9b74e6690b0dba0d674a216ea170efe0a5367d22bdef72c2006f644a4e
SHA512 (serial_test-0.6.0.crate) = 36340e6234b44ef99d0e4f25a6f98dbe080cb0c2b0de06bdb8fe72cf7c6398110ca0489e556b7ba24be708e7fae3fc63400075e1d061a86d5d612d70b216d46f

Loading…
Cancel
Save