|
|
|
@ -1,21 +1,19 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# * dev-dependencies are outdated
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate rustfix
|
|
|
|
|
|
|
|
|
|
Name: rust-rustfix
|
|
|
|
|
Version: 0.6.1
|
|
|
|
|
Version: 0.8.2
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Automatically apply the suggestions made by rustc
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
|
License: Apache-2.0 OR MIT
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/rustfix
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Automatically apply the suggestions made by rustc.}
|
|
|
|
@ -34,8 +32,8 @@ use the "%{crate}" crate.
|
|
|
|
|
%files devel
|
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
|
%doc %{crate_instdir}/Changelog.md
|
|
|
|
|
%doc %{crate_instdir}/Readme.md
|
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
@ -51,7 +49,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|