Initial import (serial_test_derive 0.5 compat package)

epel9
Fabio Valentini 3 years ago
parent 7a07136f1d
commit bb60e8fe26
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

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

@ -1,3 +0,0 @@
# rust-serial_test_derive0.5
The rust-serial_test_derive0.5 package

@ -0,0 +1,71 @@
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate serial_test_derive
Name: rust-%{crate}0.5
Version: 0.5.1
Release: %autorelease
Summary: Helper crate for serial_test
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/serial_test_derive
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
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

@ -0,0 +1 @@
SHA512 (serial_test_derive-0.5.1.crate) = e3f4b3c2eed1b284dbff7447c2f912343f9b95cbd88f3387c0136ca42698b38a607c752277ee4590ded9f73f475325d2652ba67ba029ddd54711d9070ac5f43e
Loading…
Cancel
Save