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

@ -1,30 +1,29 @@
# Generated by rust2rpm # Generated by rust2rpm 10
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate which %global crate which
Name: rust-%{crate} Name: rust-%{crate}
Version: 2.0.1 Version: 2.0.1
Release: 3%{?dist} Release: 4%{?dist}
Summary: Rust equivalent of Unix command "which" Summary: Rust equivalent of Unix command "which"
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/which URL: https://crates.io/crates/which
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(failure/std) >= 0.1.1 with crate(failure/std) < 0.2.0)
BuildRequires: (crate(libc/default) >= 0.2.10 with crate(libc/default) < 0.3.0)
%if %{with check}
BuildRequires: (crate(tempdir/default) >= 0.3.4 with crate(tempdir/default) < 0.4.0)
%endif
%global _description \ %global _description %{expand:
A Rust equivalent of Unix command "which". Locate installed execuable in cross\ Rust equivalent of Unix command "which". Locate installed execuable in cross
platforms. platforms.}
%description %{_description} %description %{_description}
@ -58,6 +57,9 @@ which use "default" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -70,6 +72,9 @@ which use "default" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 13:09:58 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-4
- Regenerate
* Mon Feb 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-3 * Mon Feb 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-3
- Run tests in infrastructure - Run tests in infrastructure

Loading…
Cancel
Save