Initial import (#2219919)

epel9
Fabio Valentini 2 years ago
parent 6e8c1c65bc
commit 8eb503b8b6
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/equivalent-1.0.0.crate

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

@ -0,0 +1,69 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate equivalent
Name: rust-equivalent
Version: 1.0.0
Release: %autorelease
Summary: Traits for key comparison in maps
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/equivalent
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Traits for key comparison in maps.}
%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-APACHE
%license %{crate_instdir}/LICENSE-MIT
%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 (equivalent-1.0.0.crate) = 006fd57e6829b1dd9644abaa6f650098f22302e9882fa5b852c695aecdead8e353426626c56b772ab362303dff23777cc7012ec04f9618403d54f0e03e29278e
Loading…
Cancel
Save