From a3700d6f09f2e5c6cc4d16ba3b7dfb9e7489db71 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 28 Nov 2022 22:04:53 +0100 Subject: [PATCH] Initial import (serial_test_derive 0.6 compat package) --- .gitignore | 1 + README.md | 3 -- rust-serial_test_derive0.6.spec | 68 +++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 70 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 rust-serial_test_derive0.6.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e8f0032 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/serial_test_derive-0.6.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 4f95fc7..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-serial_test_derive0.6 - -The rust-serial_test_derive0.6 package diff --git a/rust-serial_test_derive0.6.spec b/rust-serial_test_derive0.6.spec new file mode 100644 index 0000000..f74f02a --- /dev/null +++ b/rust-serial_test_derive0.6.spec @@ -0,0 +1,68 @@ +# Generated by rust2rpm 23 +%bcond_without check +%global debug_package %{nil} + +%global crate serial_test_derive + +Name: rust-serial_test_derive0.6 +Version: 0.6.0 +Release: %autorelease +Summary: Helper crate for serial_test + +License: MIT +URL: https://crates.io/crates/serial_test_derive +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Helper crate for serial_test.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +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. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..de7e6ed --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (serial_test_derive-0.6.0.crate) = 45885b6556ec89356b0db59f53cdec2f147ed71c61c072ab3d5c472bb574c3e64632668272f1b43cb10c6e3113cbbac85e58bb0e2ea589630aba6545a0d2da2b