initial import

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

1
.gitignore vendored

@ -0,0 +1 @@
/uuid-0.5.1.crate

@ -0,0 +1,61 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate uuid
Name: rust-%{crate}
Version: 0.5.1
Release: 1%{?dist}
Summary: Library to generate and parse UUIDs
License: MIT or ASL 2.0
URL: https://crates.io/crates/uuid
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(md5) >= 0.3.0 with crate(md5) < 0.4.0)
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
BuildRequires: (crate(rustc-serialize) >= 0.3.0 with crate(rustc-serialize) < 0.4.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(sha1) >= 0.2.0 with crate(sha1) < 0.3.0)
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
A library to generate and parse UUIDs.
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-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (uuid-0.5.1.crate) = 6865a85dd53f7455f741de558127371e85e47c8c4ed6dfccdd90fc7ec71dc66d370af551bf9463a36399440b28bce329114cd27afc87f4072f1e6e2d9ebf9116
Loading…
Cancel
Save