|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
%global crate difftastic
|
|
|
|
|
|
|
|
|
|
Name: rust-difftastic
|
|
|
|
|
Version: 0.45.0
|
|
|
|
|
Version: 0.49.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Structural diff that understands syntax
|
|
|
|
|
|
|
|
|
@ -12,9 +12,8 @@ License: MIT
|
|
|
|
|
URL: https://crates.io/crates/difftastic
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * unpin assert_cmd and downgrade to 2.0.4 that is in EPEL 9
|
|
|
|
|
# * unpin libmimalloc-sys
|
|
|
|
|
# * unpin predicates
|
|
|
|
|
# * remove upper bound on assert_cmd, predicates, and regex
|
|
|
|
|
Patch: difftastic-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
@ -26,16 +25,14 @@ A structural diff that understands syntax.}
|
|
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
License: (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND MIT AND (MIT OR Unlicense) AND Zlib
|
|
|
|
|
License: (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND MIT AND (MIT OR Unlicense) AND Unicode-DFS-2016 AND Zlib
|
|
|
|
|
# LICENSE.dependencies contains a full license breakdown
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%license LICENSE.dependencies
|
|
|
|
|
%endif
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_bindir}/difft
|
|
|
|
|
|
|
|
|
@ -48,9 +45,7 @@ License: (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exce
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%{cargo_license} > LICENSE.dependencies
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cargo_install
|
|
|
|
|