|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate getopts
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.19
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: getopts-like option parsing
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Getopts-like option parsing
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
@ -15,15 +15,14 @@ URL: https://crates.io/crates/getopts
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(unicode-width/default) >= 0.1.5 with crate(unicode-width/default) < 0.2.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
getopts-like option parsing.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Getopts-like option parsing.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -58,6 +57,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -70,6 +72,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 23 11:00:27 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.19-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Thu May 02 08:36:13 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.19-1
|
|
|
|
|
- Update to 0.2.19
|
|
|
|
|
|
|
|
|
|