Blob Blame History Raw
# Generated by rust2rpm 17
%bcond_without check
%global __cargo_skip_build 0

%global crate desed

Name:           rust-%{crate}
Version:        1.2.0
Release:        6%{?dist}
Summary:        Sed script debugger

# Upstream license specification: GPL-3.0-or-later
License:        GPLv3+
URL:            https://crates.io/crates/desed
Source:         %{crates_source}
# Initial patched metadata
# * No bsd deps
Patch0:         desed-fix-metadata.diff

ExclusiveArch:  %{rust_arches}

BuildRequires:  rust-packaging

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

%description %{_description}

%package     -n %{crate}
Summary:        %{summary}
# BSD
# GPLv3+
# ISC
# MIT
# MIT or ASL 2.0
License:        GPLv3+ and BSD and ISC and MIT
Requires:       sed >= 4.6

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

%files       -n %{crate}
%license LICENSE
%doc README.md
%{_bindir}/desed

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

%generate_buildrequires
%cargo_generate_buildrequires

%build
%cargo_build

%install
%cargo_install

%if %{with check}
%check
%cargo_test
%endif

%changelog
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
- Second attempt - Rebuilt for
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Mon Jan 11 20:57:59 CET 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.2.0-3
- Fixup license tag

* Mon Dec 28 13:29:25 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.2.0-2
- Rebuild

* Mon Oct 05 2020 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.2.0-1
- Update to latest release

* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-6
- Second attempt - Rebuilt for
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Sat May 16 2020 Artur Iwicki <fedora@svgames.pl> - 1.1.4-4
- Put a minimum version requirement on sed

* Fri May 15 12:37:32 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.4-3
- Regenerate with rust2rpm

* Fri May 15 2020 Artur Iwicki <fedora@svgames.pl> - 1.1.4-2
- Add a Requires: on sed
- Fix the license tag (GPLv3 -> GPLv3+)

* Wed May 06 2020 Artur Iwicki <fedora@svgames.pl> - 1.1.4-1
- Initial packaging