|
|
|
@ -1,14 +1,13 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate typenum
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.10.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Library for type-level numbers evaluated at compile time
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Rust library for type-level numbers evaluated at compile time
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
# https://github.com/paholg/typenum/issues/100
|
|
|
|
@ -17,14 +16,16 @@ URL: https://crates.io/crates/typenum
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Typenum is a Rust library for type-level numbers evaluated at compile time. It\
|
|
|
|
|
currently supports bits, unsigned integers, and signed integers. It also\
|
|
|
|
|
provides a type-level array of type-level numbers, but its implementation is\
|
|
|
|
|
incomplete.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Rust library for type-level numbers evaluated at compile time. It currently
|
|
|
|
|
supports bits, unsigned integers, and signed integers. It also provides a type-
|
|
|
|
|
level array of type-level numbers, but its implementation is incomplete.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -94,6 +95,9 @@ which use "strict" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -106,6 +110,9 @@ which use "strict" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jun 22 10:21:37 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.10.0-4
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|