Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 84cdcd171dca4a724ab9b3ece5938553 > files > 1

rust-trybuild-1.0.73-1.mga9.src.rpm

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

%global crate trybuild

Name:           rust-%{crate}
Version:        1.0.73
Release:        %mkrel 1
Summary:        Test harness for ui tests of compiler diagnostics
Group:          Development/Other

# Upstream license specification: MIT OR Apache-2.0
License:        MIT or ASL 2.0
URL:            https://crates.io/crates/trybuild
Source:         %{crates_source}

BuildRequires:  rust-packaging
BuildRequires:  crate(dissimilar/default) >= 1.0.0
BuildRequires:  crate(glob/default) >= 0.3.0
BuildRequires:  crate(once_cell/default) >= 1.9.0
BuildRequires:  crate(serde/default) >= 1.0.103
BuildRequires:  crate(serde/derive) >= 1.0.103
BuildRequires:  crate(serde_json/default) >= 1.0.0
BuildRequires:  crate(termcolor/default) >= 1.0.4
BuildRequires:  crate(toml/default) >= 0.5.2

%global _description %{expand:
Test harness for ui tests of compiler diagnostics.}

%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 LICENSE-APACHE LICENSE-MIT
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/

%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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

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

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

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

%files       -n %{name}+diff-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

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

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

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

%files       -n %{name}+dissimilar-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

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

%generate_buildrequires
%cargo_generate_buildrequires -a

%build
%cargo_build -a

%install
%cargo_install -a

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


%changelog
* Thu Dec 22 2022 guillomovitch <guillomovitch> 1.0.73-1.mga9
+ Revision: 1925814
- new version 1.0.73

* Thu Dec 08 2022 guillomovitch <guillomovitch> 1.0.72-1.mga9
+ Revision: 1919487
- new version 1.0.72

* Sun Oct 09 2022 guillomovitch <guillomovitch> 1.0.66-1.mga9
+ Revision: 1895987
- new version 1.0.66

* Tue May 24 2022 guillomovitch <guillomovitch> 1.0.61-1.mga9
+ Revision: 1860056
- new version 1.0.61

* Fri Mar 25 2022 umeabot <umeabot> 1.0.56-2.mga9
+ Revision: 1827214
- Mageia 9 Mass Rebuild

* Wed Mar 02 2022 guillomovitch <guillomovitch> 1.0.56-1.mga9
+ Revision: 1787623
- new version 1.0.56

* Wed Feb 23 2022 guillomovitch <guillomovitch> 1.0.55-1.mga9
+ Revision: 1783345
- imported package rust-trybuild