Initial import (#2186546)

epel9 imports/e9/rust-enumber-0.3.0-1.el9
Fabio Valentini 2 years ago
parent 4d55ee8679
commit db7814fd4d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/enumber-0.3.0.crate

@ -1,3 +0,0 @@
# rust-enumber
The rust-enumber package

@ -0,0 +1,68 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate enumber
Name: rust-enumber
Version: 0.3.0
Release: %autorelease
Summary: Provide useful impls on numerical enums
License: BSD-3-Clause
URL: https://crates.io/crates/enumber
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Provide useful impls on numerical enums.}
%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}/COPYING
%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 (enumber-0.3.0.crate) = f7f8c9049e757fed1481f08c8493d898cc3d2f8303b482a988d69f4a126a4e532648cce44b453119b5ccf3e71dae7b698fa63bab00844849cf42c46fa968a2ad
Loading…
Cancel
Save