Initial import (fedora#2254750)

epel10
Albert Larsan 1 year ago
parent 7736e5c18b
commit c9bbbaeb30
No known key found for this signature in database
GPG Key ID: D27C26E057F0D9A5

1
.gitignore vendored

@ -0,0 +1 @@
/lifeguard-0.6.1.crate

@ -0,0 +1,68 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate lifeguard
Name: rust-lifeguard
Version: 0.6.1
Release: %autorelease
Summary: Object pool manager in Rust
License: MIT
URL: https://crates.io/crates/lifeguard
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
An object pool manager in Rust.}
%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
%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 (lifeguard-0.6.1.crate) = bb70054d386c3ae73b8d911b97455bb61e16d64d621d5076abddf7586c2eb4cdef08248baa57d6aaa3294e477ac0519eb764893a00ab198450aa8080b3139f83
Loading…
Cancel
Save