Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > 5c6abfda1cb19d0a46ebee4f6bccb281 > files > 2

rust-futures-macro-0.3.28-1.mga10.src.rpm

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

%global crate futures-macro

Name:           rust-futures-macro
Version:        0.3.28
Release:        %mkrel 1
Summary:        Futures-rs procedural macro implementations
Group:          Development/Other
BuildArch:      noarch

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

BuildRequires:  rust-packaging >= 21
BuildRequires:  rust-syn1-devel

%global _description %{expand:
The futures-rs procedural macro implementations.}

%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
%{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
* Thu Oct 12 2023 tv <tv> 0.3.28-1.mga10
+ Revision: 1995001
- 0.3.28

* Wed Oct 11 2023 tv <tv> 0.3.26-2.mga10
+ Revision: 1994580
- Make the SRPM "noarch" so that only one build is done SILEHT

* Sat Feb 04 2023 guillomovitch <guillomovitch> 0.3.26-1.mga9
+ Revision: 1938322
- imported package rust-futures-macro