Initial import (strum_macros 0.21 compat package)

epel9
Fabio Valentini 3 years ago
parent 35a45b1208
commit 3bdbe39fb8
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/strum_macros-0.21.1.crate

@ -1,3 +0,0 @@
# rust-strum_macros0.21
The rust-strum_macros0.21 package

@ -0,0 +1,71 @@
# Generated by rust2rpm 21
# * resolve dependency loop with strum
%bcond_with check
%global debug_package %{nil}
%global crate strum_macros
Name: rust-%{crate}0.21
Version: 0.21.1
Release: %autorelease
Summary: Helpful macros for working with enums and strings
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/strum_macros
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Helpful macros for working with enums and strings.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%{crate_instdir}/
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/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
%autochangelog

@ -0,0 +1 @@
SHA512 (strum_macros-0.21.1.crate) = 85ea12f8e03f04c427b99e027065279bd559ea1c51532c6f35cc842218e350e27349258f0fe25f5efc9fca047387da3ec5d670f94a50d574b15f4b5f1c99ddea
Loading…
Cancel
Save