Initial import

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 4 years ago
parent 48ecfba15c
commit 1e7bf09c89
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

1
.gitignore vendored

@ -0,0 +1 @@
/clap_derive-3.0.0-beta.2.crate

@ -0,0 +1,111 @@
# Generated by rust2rpm 16
%bcond_without check
%global debug_package %{nil}
%global crate clap_derive
Name: rust-%{crate}
Version: 3.0.0~beta.2
Release: 1%{?dist}
Summary: Parse command line argument by defining a struct, derive crate
# Upstream license specification: MIT OR Apache-2.0
# https://github.com/clap-rs/clap/issues/2270
License: MIT or ASL 2.0
URL: https://crates.io/crates/clap_derive
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Parse command line argument by defining a struct, derive crate.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+debug-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+debug-devel %{_description}
This package contains library source intended for building other packages
which use "debug" feature of "%{crate}" crate.
%files -n %{name}+debug-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+doc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+doc-devel %{_description}
This package contains library source intended for building other packages
which use "doc" feature of "%{crate}" crate.
%files -n %{name}+doc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages
which use "unstable" feature of "%{crate}" crate.
%files -n %{name}+unstable-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Fri Dec 25 11:57:40 CET 2020 Igor Raits <igor.raits@gmail.com> - 3.0.0~beta.2-1
- Initial package

@ -0,0 +1 @@
SHA512 (clap_derive-3.0.0-beta.2.crate) = 4e2620557daae4f1da925e0ead0f18c76586b59b9e2289d85a949a081f88e097b56bfda2ef07c88704e7b5704dc58de3a468bf73705ba64a85d59103ff60dd5f
Loading…
Cancel
Save