Initial import (#2210816)

epel9 imports/e9/rust-option-ext-0.2.0-1.el9
Fabio Valentini 2 years ago
parent 8da78e0a01
commit d4def32fe9
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/option-ext-0.2.0.crate

@ -1,3 +0,0 @@
# rust-option-ext
The rust-option-ext package

@ -0,0 +1,68 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate option-ext
Name: rust-option-ext
Version: 0.2.0
Release: %autorelease
Summary: Extends Option with additional operations
License: MPL-2.0
URL: https://crates.io/crates/option-ext
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Extends `Option` with additional operations.}
%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.txt
%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 (option-ext-0.2.0.crate) = f8539f97b01af97e0b80fc96556002251befa60f8ddd19613311e62f9dc9834d71c22f5d8e7c53c4925046e38cdcf834c3c28042a4da862d6f6a21ddff8d8e56
Loading…
Cancel
Save