# Generated by rust2rpm %bcond_without check %global debug_package %{nil} %global crate data-encoding Name: rust-%{crate} Version: 2.1.0 Release: 2%{?dist} Summary: Efficient and customizable data-encoding functions License: MIT URL: https://crates.io/crates/data-encoding Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %description %{summary}. %package devel Summary: %{summary} BuildArch: noarch %description devel Efficient and customizable data-encoding functions. This package contains library source intended for building other packages which use %{crate} from crates.io. %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %files devel %license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version}/ %changelog * Mon Jan 08 2018 Igor Gnatenko - 2.1.0-2 - Rebuild for rust-packaging v5 * Sun Nov 19 2017 Igor Gnatenko - 2.1.0-1 - Update to 2.1.0 * Tue Nov 07 2017 Igor Gnatenko - 2.0.0-1 - Update to 2.0.0 * Fri Jun 16 2017 Igor Gnatenko - 1.2.0-1 - Initial package