initial import

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

1
.gitignore vendored

@ -0,0 +1 @@
/owning_ref-0.3.3.crate

@ -0,0 +1,57 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate owning_ref
Name: rust-%{crate}
Version: 0.3.3
Release: 1%{?dist}
Summary: Library for creating references that carry their owner with them
License: MIT
URL: https://crates.io/crates/owning_ref
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(stable_deref_trait) >= 1.0.0 with crate(stable_deref_trait) < 2.0.0)
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
A library for creating references that carry their owner with them.
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
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.3-1
- Initial package

@ -0,0 +1 @@
SHA512 (owning_ref-0.3.3.crate) = 260f3d77f23b092c5ca96dff6746d378caa1bac965745a71ca18eed30a12c6869af62259daafc91c8666baf95e04619ad0d8fe06b47d5e517688b35f0c59005a
Loading…
Cancel
Save