|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -13,9 +13,9 @@ License: MIT
|
|
|
|
|
URL: https://crates.io/crates/difference
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * bump quickcheck dev-dependency from 0.4 to 0.9:
|
|
|
|
|
# * bump quickcheck dev-dependency from 0.4 to 1.0:
|
|
|
|
|
# https://github.com/johannhof/difference.rs/pull/38
|
|
|
|
|
# * bump term dev-dependency from 0.2 to 0.6:
|
|
|
|
|
# * bump term dev-dependency from 0.2 to 0.7:
|
|
|
|
|
# https://github.com/johannhof/difference.rs/pull/42
|
|
|
|
|
# * remove useless executable and related dependencies and features
|
|
|
|
|
Patch: difference-fix-metadata.diff
|
|
|
|
@ -23,7 +23,7 @@ Patch: difference-fix-metadata.diff
|
|
|
|
|
# https://github.com/johannhof/difference.rs/pull/41
|
|
|
|
|
Patch: 0001-Fix-inclusive-range.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
A Rust text diffing and assertion library.}
|
|
|
|
@ -58,7 +58,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
|
|
|
|
|