Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent dc0538858f
commit 67718b57aa
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,13 +1,12 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate crc32fast
Name: rust-%{crate}
Version: 1.2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Fast, SIMD-accelerated CRC32 (IEEE) checksum computation
# Upstream license specification: MIT OR Apache-2.0
@ -16,17 +15,14 @@ URL: https://crates.io/crates/crc32fast
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0)
%if %{with check}
BuildRequires: (crate(bencher/default) >= 0.1.0 with crate(bencher/default) < 0.2.0)
BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0)
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
%endif
%global _description \
Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.
%global _description %{expand:
Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.}
%description %{_description}
@ -56,6 +52,18 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
This package contains library source intended for building other packages
which use "nightly" feature of "%{crate}" crate.
%files -n %{name}+nightly-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
@ -72,6 +80,9 @@ which use "std" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -84,6 +95,9 @@ which use "std" feature of "%{crate}" crate.
%endif
%changelog
* Sat Jun 22 09:47:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.0-2
- Regenerate
* Tue Mar 05 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.0-1
- Update to 1.2.0

Loading…
Cancel
Save