|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -6,8 +6,8 @@
|
|
|
|
|
%global crate rustfix
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.4.5
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.4.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Automatically apply the suggestions made by rustc
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
@ -19,24 +19,14 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: rustfix-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(failure/default) >= 0.1.2 with crate(failure/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.1 with crate(log/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(difference/default) >= 2.0.0 with crate(difference/default) < 3.0.0)
|
|
|
|
|
BuildRequires: (crate(duct/default) >= 0.9.0 with crate(duct/default) < 0.10.0)
|
|
|
|
|
BuildRequires: (crate(env_logger/default) >= 0.5.0 with crate(env_logger/default) < 0.6.0)
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.1 with crate(log/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(proptest/default) >= 0.7.0 with crate(proptest/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(tempdir/default) >= 0.3.5 with crate(tempdir/default) < 0.4.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Automatically apply the suggestions made by rustc.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Automatically apply the suggestions made by rustc.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -71,6 +61,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
|
|
|
|
|
|
|
|
|
@ -83,6 +76,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Nov 23 2019 Josh Stone <jistone@redhat.com> - 0.4.6-1
|
|
|
|
|
- Update to 0.4.6
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|