initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 7fcfa26332
commit a22b43c653

1
.gitignore vendored

@ -0,0 +1 @@
/byteorder-1.1.0.crate

@ -0,0 +1,63 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate byteorder
Name: rust-%{crate}
Version: 1.1.0
Release: 1%{?dist}
Summary: Library for reading/writing numbers in big-endian and little-endian
License: Unlicense or MIT
URL: https://crates.io/crates/byteorder
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(quickcheck) >= 0.4.0 with crate(quickcheck) < 0.5.0)
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
%endif
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Library for reading/writing numbers in big-endian and little-endian.
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 COPYING UNLICENSE LICENSE-MIT
%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Fri Nov 10 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.0-1
- Update to 1.1.0
* Fri Jun 16 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (byteorder-1.1.0.crate) = 610c77c91fa3c23699d28d78631b87e6d4c56ad9754dabfb640f9ac4a41a2925c1a44c34988654bdcd4b02a3474ddf374d98999f6d53bed68835360d288b9922
Loading…
Cancel
Save