Blob Blame History Raw
# Generated by rust2rpm 24
%bcond_without check

%global crate desed

Name:           rust-desed
Version:        1.2.1
Release:        %autorelease
Summary:        Sed script debugger

License:        GPL-3.0-or-later
Source:         %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch:          desed-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
#  * Downgrade inotify dependency to 0.9
Patch:          desed-fix-metadata.diff

BuildRequires:  rust-packaging >= 21

%global _description %{expand:
Sed script debugger. Debug and demystify your sed scripts with TUI

%description %{_description}

%package     -n %{crate}
Summary:        %{summary}

# Apache-2.0 OR MIT
# GPL-3.0-or-later
# MIT OR Apache-2.0
# Unlicense OR MIT
License:        GPL-3.0-or-later AND ISC AND MIT AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT)
# LICENSE.dependencies contains a full license breakdown

Requires:       sed >= 4.6

%description -n %{crate} %{_description}

%files       -n %{crate}
%license LICENSE
%license LICENSE.dependencies

%autosetup -n %{crate}-%{version_no_tilde} -p1


%{cargo_license} > LICENSE.dependencies


%if %{with check}