Initial import

epel10
Orion Poplawski 2 years ago
parent 3986d41062
commit 853c2cac3e

1
.gitignore vendored

@ -0,0 +1 @@
/bit_field-0.10.1.crate

@ -0,0 +1,74 @@
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate bit_field
Name: rust-bit_field
Version: 0.10.1
Release: %autorelease
Summary: Simple bit field trait providing get_bit, get_bits, set_bit, and set_bits methods for Rust's integral types
# Upstream license specification: Apache-2.0/MIT
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/bit_field
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Simple bit field trait providing get_bit, get_bits, set_bit, and set_bits
methods for Rust's integral types.}
%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}/Changelog.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
%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 (bit_field-0.10.1.crate) = 4848d7ec592642913c7bd06cd3a0da49d3bb14291866cd22ead8e9a6b2939a787035d5cded87be3d2d3491283e31ea2cfb105885df4114720da98beb82990ee6
Loading…
Cancel
Save