|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
|
# * Drop tests because a dependency is not packaged yet
|
|
|
|
|
# * See https://bugzilla.redhat.com/show_bug.cgi?id=2216297
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%bcond check 0
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate gix-prompt
|
|
|
|
|
|
|
|
|
|
Name: rust-gix-prompt
|
|
|
|
|
Version: 0.7.0
|
|
|
|
|
Version: 0.8.9
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Of the gitoxide project for handling prompts in the terminal
|
|
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/gix-prompt
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
A crate of the gitoxide project for handling prompts in the terminal.}
|
|
|
|
@ -34,7 +34,6 @@ 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
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
@ -51,7 +50,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
|
|
|
|
@ -65,6 +64,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
%cargo_test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|