initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 7bb196669a
commit 76ba27d9b4
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/structopt-derive-0.1.6.crate

@ -0,0 +1,57 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate structopt-derive
Name: rust-%{crate}
Version: 0.1.6
Release: 1%{?dist}
Summary: Parse command line argument by defining a struct, derive crate
# https://github.com/TeXitoi/structopt/issues/61
License: WTFPL
URL: https://crates.io/crates/structopt-derive
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(quote) >= 0.3.12 with crate(quote) < 0.4.0)
BuildRequires: (crate(syn) >= 0.11.4 with crate(syn) < 0.12.0)
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Parse command line argument by defining a struct, derive crate.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.6-1
- Initial package

@ -0,0 +1 @@
SHA512 (structopt-derive-0.1.6.crate) = f0ff36906eb89c6055b959e8108105d401848c5ddd744036352904cff340d9410db0ba9b60083b5289a2a4dd0aa5830434289da6c7cb8565fa513c03390aa0c8
Loading…
Cancel
Save