Initial import

epel10
Rémi Lauzier 4 years ago
parent c6d6ed1a8c
commit 6012190f94
No known key found for this signature in database
GPG Key ID: D4B9ECD143336C1D

1
.gitignore vendored

@ -0,0 +1 @@
/fallible_collections-0.4.2.crate

@ -0,0 +1,99 @@
# Generated by rust2rpm 17
%bcond_without check
%global debug_package %{nil}
%global crate fallible_collections
Name: rust-%{crate}
Version: 0.4.2
Release: 1%{?dist}
Summary: Crate which adds fallible allocation api to std collections
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/fallible_collections
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Crate which adds fallible allocation api to std collections.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std_io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std_io-devel %{_description}
This package contains library source intended for building other packages
which use "std_io" feature of "%{crate}" crate.
%files -n %{name}+std_io-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages
which use "unstable" feature of "%{crate}" crate.
%files -n %{name}+unstable-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Fri Jun 25 01:13:51 EDT 2021 Rémi Lauzier <remilauzier@protonmail.com> - 0.4.2-1
- Initial package

@ -0,0 +1 @@
SHA512 (fallible_collections-0.4.2.crate) = 6cde9b3b78dd7a816d70295bfb33a8a76786771acfef0804f2c0c302c826121532e0a3dd3abbd3c41f81e89950a924fe8d78c29618c29f1427d90645863da4f3
Loading…
Cancel
Save