initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 663b74a64d
commit 41f26559a8
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/typenum-1.10.0.crate

@ -0,0 +1,59 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate typenum
Name: rust-%{crate}
Version: 1.10.0
Release: 1%{?dist}
Summary: Library for type-level numbers evaluated at compile time
# https://github.com/paholg/typenum/issues/100
License: MIT
URL: https://crates.io/crates/typenum
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
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.
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 CHANGELOG.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sun Aug 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.10.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (typenum-1.10.0.crate) = 9ff611df79e312b8ab32522007981220213f2beddd959118a855d08b94b7a7d35d38378694c8667c2d6aa324933307a47a4072a89cacf7e594537794385b9449
Loading…
Cancel
Save