Initial import (#2255542)

epel9 imports/e9/rust-ntest_timeout-0.9.0-1.el9
Fabio Valentini 1 year ago
parent 0c1daaaf11
commit 3255d4226a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/ntest_timeout-0.9.0.crate

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

@ -0,0 +1,70 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate ntest_timeout
Name: rust-ntest_timeout
Version: 0.9.0
Release: %autorelease
Summary: Timeout attribute for the ntest framework
License: MIT
URL: https://crates.io/crates/ntest_timeout
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: dos2unix
%global _description %{expand:
Timeout attribute for the ntest framework.}
%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} -p1
dos2unix --keepdate README.md
%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 (ntest_timeout-0.9.0.crate) = fe7db5f555cac1e5d04759466f63d5cafb58d715d99b18d5611d2f7e0f1ab82cd52e607a70147bc8ccf91475de5be4e1f3306df842e59afb5e464a27dbfd2248
Loading…
Cancel
Save