Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > f9f684561d7bc489ea7ea7606cfaea8d > files > 1

rust-unindent-0.2.3-1.mga10.src.rpm

# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}

%global crate unindent

Name:           rust-unindent
Version:        0.2.3
Release:        %mkrel 1
Summary:        Remove a column of leading whitespace from a string

Group:          Development/Other
BuildArch:      noarch

License:        MIT OR Apache-2.0
URL:            https://crates.io/crates/unindent
Source:         %{crates_source}

BuildRequires:  rust-packaging >= 21

%global _description %{expand:
Remove a column of leading whitespace from a string.}

%description %{_description}

%package        devel
Summary:        %{summary}
BuildArch:      noarch

%description    devel %{_description}

This package contains library source intended for building other packages which
use the "%{crate}" crate.

%files          devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/

%package     -n %{name}+default-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+default-devel %{_description}

This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.

%files       -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml

%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
* Wed Oct 11 2023 tv <tv> 0.2.3-1.mga10
+ Revision: 1994790
- 0.2.3

* Thu Dec 22 2022 guillomovitch <guillomovitch> 0.1.11-1.mga9
+ Revision: 1925802
- new version 0.1.11

* Mon Oct 10 2022 guillomovitch <guillomovitch> 0.1.10-1.mga9
+ Revision: 1896182
- new version 0.1.10

* Mon Mar 21 2022 umeabot <umeabot> 0.1.8-2.mga9
+ Revision: 1816190
- Mageia 9 Mass Rebuild

* Sun Feb 20 2022 guillomovitch <guillomovitch> 0.1.8-1.mga9
+ Revision: 1781754
- imported package rust-unindent