Initial import (#1967074).

epel9
Christian Heimes 4 years ago
parent aa31d626dc
commit 65e912b26a

1
.gitignore vendored

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

@ -0,0 +1,73 @@
# Generated by rust2rpm 17
%bcond_without check
%global debug_package %{nil}
%global crate ouroboros_macro
Name: rust-%{crate}
Version: 0.9.3
Release: 1%{?dist}
Summary: Proc macro for ouroboros crate
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/ouroboros_macro
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Proc macro for ouroboros crate.}
%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
%{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:10:23 CEST 2021 Christian Heimes <cheimes@redhat.com> - 0.9.3-1
- Initial package

@ -0,0 +1 @@
SHA512 (ouroboros_macro-0.9.3.crate) = 8ac05813313ca765560d584dc1fbc741f16389c7cc9731bc5d3f6e9d799c58283960e696ae026fb57df778853ddc3b6318bfc6f9ddfb39dbc6c1b13fca0dd075
Loading…
Cancel
Save