Blame rust-ppv-lite86.spec

9759052
# Generated by rust2rpm 10
9759052
%bcond_without check
9759052
%global debug_package %{nil}
9759052
9759052
%global crate ppv-lite86
9759052
9759052
Name:           rust-%{crate}
b3af5a3
Version:        0.2.6
9759052
Release:        1%{?dist}
9759052
Summary:        Implementation of the crypto-simd API for x86
9759052
9759052
# Upstream license specification: MIT/Apache-2.0
9759052
License:        MIT or ASL 2.0
9759052
URL:            https://crates.io/crates/ppv-lite86
9759052
Source:         %{crates_source}
9759052
9759052
ExclusiveArch:  %{rust_arches}
9759052
%if %{__cargo_skip_build}
9759052
BuildArch:      noarch
9759052
%endif
9759052
9759052
BuildRequires:  rust-packaging
9759052
9759052
%global _description %{expand:
9759052
Implementation of the crypto-simd API for x86.}
9759052
9759052
%description %{_description}
9759052
9759052
%package        devel
9759052
Summary:        %{summary}
9759052
BuildArch:      noarch
9759052
9759052
%description    devel %{_description}
9759052
9759052
This package contains library source intended for building other packages
9759052
which use "%{crate}" crate.
9759052
9759052
%files          devel
9759052
%license LICENSE-MIT LICENSE-APACHE
9759052
%{cargo_registry}/%{crate}-%{version}/
9759052
9759052
%package     -n %{name}+default-devel
9759052
Summary:        %{summary}
9759052
BuildArch:      noarch
9759052
9759052
%description -n %{name}+default-devel %{_description}
9759052
9759052
This package contains library source intended for building other packages
9759052
which use "default" feature of "%{crate}" crate.
9759052
9759052
%files       -n %{name}+default-devel
9759052
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
9759052
9759052
%package     -n %{name}+simd-devel
9759052
Summary:        %{summary}
9759052
BuildArch:      noarch
9759052
9759052
%description -n %{name}+simd-devel %{_description}
9759052
9759052
This package contains library source intended for building other packages
9759052
which use "simd" feature of "%{crate}" crate.
9759052
9759052
%files       -n %{name}+simd-devel
9759052
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
9759052
9759052
%package     -n %{name}+std-devel
9759052
Summary:        %{summary}
9759052
BuildArch:      noarch
9759052
9759052
%description -n %{name}+std-devel %{_description}
9759052
9759052
This package contains library source intended for building other packages
9759052
which use "std" feature of "%{crate}" crate.
9759052
9759052
%files       -n %{name}+std-devel
9759052
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
9759052
9759052
%prep
9759052
%autosetup -n %{crate}-%{version_no_tilde} -p1
9759052
%cargo_prep
9759052
9759052
%generate_buildrequires
9759052
%cargo_generate_buildrequires
9759052
9759052
%build
9759052
%cargo_build
9759052
9759052
%install
9759052
%cargo_install
9759052
9759052
%if %{with check}
9759052
%check
9759052
%cargo_test
9759052
%endif
9759052
9759052
%changelog
b3af5a3
* Fri Nov 15 2019 Josh Stone <jistone@redhat.com> - 0.2.6-1
b3af5a3
- Update to 0.2.6
b3af5a3
9759052
* Sat Aug 03 16:14:20 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.5-1
9759052
- Initial package