Initial import (serial_test_derive 1 compat package)

epel9 imports/e9/rust-serial_test_derive1-1.0.0-1.el9
Fabio Valentini 2 years ago
parent 7fa065ff05
commit 9b641d8fc0
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/serial_test_derive-1.0.0.crate

@ -1,3 +0,0 @@
# rust-serial_test_derive1
The rust-serial_test_derive1 package

@ -0,0 +1,80 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate serial_test_derive
Name: rust-serial_test_derive1
Version: 1.0.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
%package -n %{name}+async-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-devel %{_description}
This package contains library source intended for building other packages which
use the "async" feature of the "%{crate}" crate.
%files -n %{name}+async-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

@ -0,0 +1 @@
SHA512 (serial_test_derive-1.0.0.crate) = 775de93d886128b4be6fcf4f0fa460933df23cc53a6006090d8aec54483beb5fef549d0bbb8efbba26ba6ba1554c7ef4154531de075ad3db2f201479dcc176c8
Loading…
Cancel
Save