Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9 imports/e9/rust-strum_macros0.24-0.24.3-1.el9
Michel Alexandre Salim 1 year ago
parent 166dda676c
commit e2f41fe286
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

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

@ -0,0 +1,69 @@
# Generated by rust2rpm 24
# * resolve dependency loop with strum
%bcond_with check
%global debug_package %{nil}
%global crate strum_macros
Name: rust-strum_macros0.24
Version: 0.24.3
Release: %autorelease
Summary: Helpful macros for working with enums and strings
License: MIT
URL: https://crates.io/crates/strum_macros
Source: %{crates_source}
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
%doc %{crate_instdir}/README.md
%{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.24.3.crate) = 8276343808afe71d68d7984d5a223a4fc630df0adb5a547cbcc6912fbffcf7e4ad38f115888a2dd3a8443d6fa7b9c7726318d4f5d1ab43f463dd97ec20df9134
Loading…
Cancel
Save