Blame rust-num-complex.spec

a0f1d56
# Generated by rust2rpm
a0f1d56
%bcond_without check
a0f1d56
%global debug_package %{nil}
a0f1d56
a0f1d56
%global crate num-complex
a0f1d56
a0f1d56
Name:           rust-%{crate}
ff27842
Version:        0.2.0
3d82e17
Release:        1%{?dist}
a0f1d56
Summary:        Complex numbers implementation for Rust
a0f1d56
a0f1d56
License:        MIT or ASL 2.0
a0f1d56
URL:            https://crates.io/crates/num-complex
a0f1d56
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
a0f1d56
a0f1d56
ExclusiveArch:  %{rust_arches}
a0f1d56
a0f1d56
BuildRequires:  rust-packaging
a0f1d56
# [dependencies]
ff27842
BuildRequires:  (crate(num-traits) >= 0.2.4 with crate(num-traits) < 0.3.0)
ff27842
BuildRequires:  (crate(rand) >= 0.5.0 with crate(rand) < 0.6.0)
ff27842
BuildRequires:  (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
a0f1d56
a0f1d56
%description
a0f1d56
%{summary}.
a0f1d56
a0f1d56
%package        devel
a0f1d56
Summary:        %{summary}
a0f1d56
BuildArch:      noarch
a0f1d56
a0f1d56
%description    devel
a0f1d56
Complex numbers implementation for Rust.
a0f1d56
a0f1d56
This package contains library source intended for building other packages
a0f1d56
which use %{crate} from crates.io.
a0f1d56
a0f1d56
%prep
a0f1d56
%autosetup -n %{crate}-%{version} -p1
a0f1d56
%cargo_prep
a0f1d56
a0f1d56
%build
a0f1d56
%cargo_build
a0f1d56
a0f1d56
%install
a0f1d56
%cargo_install
a0f1d56
a0f1d56
%if %{with check}
a0f1d56
%check
a0f1d56
%cargo_test
a0f1d56
%endif
a0f1d56
a0f1d56
%files          devel
a0f1d56
%license LICENSE-MIT LICENSE-APACHE
d13da66
%doc README.md RELEASES.md
a0f1d56
%{cargo_registry}/%{crate}-%{version}/
a0f1d56
a0f1d56
%changelog
ff27842
* Sat Jun 30 2018 Josh Stone <jistone@redhat.com> - 0.2.0-1
ff27842
- Update to 0.2.0
ff27842
3d82e17
* Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.1.43-1
3d82e17
- Update to 0.1.43
3d82e17
d13da66
* Thu Feb 08 2018 Josh Stone <jistone@redhat.com> - 0.1.42-2
d13da66
- Add doc files
d13da66
16bf984
* Thu Feb 08 2018 Josh Stone <jistone@redhat.com> - 0.1.42-1
16bf984
- Update to 0.1.42
16bf984
9c0731b
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-2
9c0731b
- Rebuild for rust-packaging v5
9c0731b
4c71b41
* Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-1
4c71b41
- Update to 0.1.41
4c71b41
a0f1d56
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.40-1
a0f1d56
- Update to 0.1.40
a0f1d56
a0f1d56
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.38-1
a0f1d56
- Update to 0.1.38
a0f1d56
a0f1d56
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.36-2
a0f1d56
- Port to use rust-packaging
a0f1d56
a0f1d56
* Thu Mar 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.36-1
a0f1d56
- Initial package