Initial import (rustc-hash 1 compat package)

epel10
Fabio Valentini 6 months ago
parent f9411a5413
commit f61ec6d5f9
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/rustc-hash-1.1.0.crate

@ -1,3 +0,0 @@
# rust-rustc-hash1
The rust-rustc-hash1 package

@ -0,0 +1,83 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate rustc-hash
Name: rust-rustc-hash1
Version: 1.1.0
Release: %autorelease
Summary: Speed, non-cryptographic hash used in rustc
# Upstream license specification: Apache-2.0/MIT
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/rustc-hash
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Speed, non-cryptographic hash used in rustc.}
%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}/CODE_OF_CONDUCT.md
%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
%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 %{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 (rustc-hash-1.1.0.crate) = 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544
Loading…
Cancel
Save