Initial import (#1967075).

epel9
Christian Heimes 4 years ago
parent 3d4973ac9e
commit 6538c8f532

1
.gitignore vendored

@ -0,0 +1 @@
/ouroboros-0.9.3.crate

@ -0,0 +1,75 @@
# Generated by rust2rpm 17
%bcond_without check
%global debug_package %{nil}
%global crate ouroboros
Name: rust-%{crate}
Version: 0.9.3
Release: 1%{?dist}
Summary: Easy, safe self-referential struct generation
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/ouroboros
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Easy, safe self-referential struct generation.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
# crate does neither include README nor LICENSE file
# %doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Wed Jun 02 12:07:44 CEST 2021 Christian Heimes <cheimes@redhat.com> - 0.9.3-1
- Initial package

@ -0,0 +1 @@
SHA512 (ouroboros-0.9.3.crate) = 82a39c81c043bbfcc5ef8d72ed33ebf2dbc40847e143e06d09781d522e1810580bd6771387adcbc18269b632bc956583850e28a2298532aec5ea66ab6a5d977a
Loading…
Cancel
Save