Tomas Hrcka 2 years ago
parent 11cc566132
commit c34744aee9

3
.gitignore vendored

@ -0,0 +1,3 @@
/fallible_collections-0.4.2.crate
/fallible_collections-0.4.3.crate
/fallible_collections-0.4.4.crate

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

@ -0,0 +1,2 @@
* Fri Jun 25 2021 Rémi Lauzier <remilauzier@protonmail.com> - 0.4.2-1
- Initial package

@ -1 +0,0 @@
no longer needed

@ -0,0 +1,119 @@
# Generated by rust2rpm 20
%bcond_without check
%global debug_package %{nil}
%global crate fallible_collections
Name: rust-%{crate}
Version: 0.4.4
Release: %autorelease
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}
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}+rust_1_57-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rust_1_57-devel %{_description}
This package contains library source intended for building other packages which
use the "rust_1_57" feature of the "%{crate}" crate.
%files -n %{name}+rust_1_57-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-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
%autochangelog

@ -0,0 +1 @@
SHA512 (fallible_collections-0.4.4.crate) = 1d91ee35dac5de7d80a57c30342f60cc99b5e5109a93c4b86d97eef99d96855282ad1756c3d65f9a275c0ee6e596d1eb589bd9f3c53135f3b4dbcea57cce1424
Loading…
Cancel
Save