Blame rust-actix_derive.spec

32ee72
# Generated by rust2rpm 10
32ee72
%bcond_without check
31f1ef
%global debug_package %{nil}
31f1ef
31f1ef
%global crate actix_derive
31f1ef
31f1ef
Name:           rust-%{crate}
31f1ef
Version:        0.4.0
022279
Release:        3%{?dist}
31f1ef
Summary:        Actor framework for Rust
31f1ef
31f1ef
# Upstream license specification: MIT/Apache-2.0
31f1ef
License:        MIT or ASL 2.0
31f1ef
URL:            https://crates.io/crates/actix_derive
31f1ef
Source:         %{crates_source}
31f1ef
31f1ef
ExclusiveArch:  %{rust_arches}
32ee72
%if %{__cargo_skip_build}
32ee72
BuildArch:      noarch
32ee72
%endif
31f1ef
31f1ef
BuildRequires:  rust-packaging
31f1ef
31f1ef
%global _description %{expand:
31f1ef
Actor framework for Rust.}
31f1ef
31f1ef
%description %{_description}
31f1ef
31f1ef
%package        devel
31f1ef
Summary:        %{summary}
31f1ef
BuildArch:      noarch
31f1ef
31f1ef
%description    devel %{_description}
31f1ef
31f1ef
This package contains library source intended for building other packages
31f1ef
which use "%{crate}" crate.
31f1ef
31f1ef
%files          devel
31f1ef
%license LICENSE-MIT LICENSE-APACHE
31f1ef
%doc README.md CHANGES.md
31f1ef
%{cargo_registry}/%{crate}-%{version}/
31f1ef
31f1ef
%package     -n %{name}+default-devel
31f1ef
Summary:        %{summary}
31f1ef
BuildArch:      noarch
31f1ef
31f1ef
%description -n %{name}+default-devel %{_description}
31f1ef
31f1ef
This package contains library source intended for building other packages
31f1ef
which use "default" feature of "%{crate}" crate.
31f1ef
31f1ef
%files       -n %{name}+default-devel
31f1ef
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
31f1ef
31f1ef
%prep
31f1ef
%autosetup -n %{crate}-%{version_no_tilde} -p1
31f1ef
%cargo_prep
31f1ef
32ee72
%generate_buildrequires
32ee72
%cargo_generate_buildrequires
32ee72
31f1ef
%build
31f1ef
%cargo_build
31f1ef
31f1ef
%install
31f1ef
%cargo_install
31f1ef
31f1ef
%if %{with check}
31f1ef
%check
31f1ef
%cargo_test
31f1ef
%endif
31f1ef
31f1ef
%changelog
022279
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
022279
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
022279
32ee72
* Thu Jun 27 17:12:48 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-2
32ee72
- Regenerate
32ee72
31f1ef
* Thu May 30 20:15:58 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-1
31f1ef
- Initial package