Initial import (fedora#2067182)

epel9
Jan Staněk 3 years ago
parent 9ea1c428f3
commit 7298fc53a6
No known key found for this signature in database
GPG Key ID: 2972F2037B243B6D

1
.gitignore vendored

@ -0,0 +1 @@
/lexopt-0.2.0.crate

@ -0,0 +1,73 @@
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate lexopt
Name: rust-%{crate}
Version: 0.2.0
Release: %autorelease
Summary: Minimalist pedantic command line parser
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/lexopt
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Minimalist pedantic command line parser.}
%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}/CHANGELOG.md
%doc %{crate_instdir}/DESIGN.md
%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 (lexopt-0.2.0.crate) = 21bddf7206080093511afbb361e39d1fc0964ac28bf75f67c7261aefc9e2358041468ce363a665d474ea3c6abfb1b8fbc3fe3dfcb033b125575414b2fff7daaa
Loading…
Cancel
Save