Blame rust-extprim.spec

1e22514
# Generated by rust2rpm
1e22514
# extprim(dev) -> extprim_literals -> extprim_literals_macros -> extprim
1e22514
%bcond_with check
1e22514
%global debug_package %{nil}
1e22514
1e22514
%global crate extprim
1e22514
1e22514
Name:           rust-%{crate}
d722d20
Version:        1.6.0
d98f3a4
Release:        2%{?dist}
1e22514
Summary:        Extra primitive types (u128, i128)
1e22514
1e22514
License:        MIT or ASL 2.0
1e22514
URL:            https://crates.io/crates/extprim
1e22514
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
1e22514
1e22514
ExclusiveArch:  %{rust_arches}
1e22514
1e22514
BuildRequires:  rust-packaging
1e22514
# [dependencies]
d722d20
BuildRequires:  (crate(num-traits) >= 0.2.0 with crate(num-traits) < 0.3.0)
d46d91b
BuildRequires:  (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
1e22514
BuildRequires:  ((crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) with crate(serde/derive))
1e22514
# [build-dependencies]
1e22514
BuildRequires:  (crate(rustc_version) >= 0.2.0 with crate(rustc_version) < 0.3.0)
d722d20
BuildRequires:  (crate(semver) >= 0.9.0 with crate(semver) < 0.10.0)
1e22514
%if %{with check}
1e22514
# [dev-dependencies]
1e22514
BuildRequires:  (crate(extprim_literals) >= 2.0.0 with crate(extprim_literals) < 3.0.0)
1e22514
%endif
1e22514
1e22514
%description
1e22514
%{summary}.
1e22514
1e22514
%package        devel
1e22514
Summary:        %{summary}
1e22514
BuildArch:      noarch
1e22514
1e22514
%description    devel
1e22514
Extra primitive types (u128, i128).
1e22514
1e22514
This package contains library source intended for building other packages
1e22514
which use %{crate} from crates.io.
1e22514
1e22514
%prep
1e22514
%autosetup -n %{crate}-%{version} -p1
1e22514
%cargo_prep
1e22514
1e22514
%build
1e22514
%cargo_build
1e22514
1e22514
%install
1e22514
%cargo_install
1e22514
1e22514
%if %{with check}
1e22514
%check
1e22514
%cargo_test
1e22514
%endif
1e22514
1e22514
%files          devel
1e22514
%license LICENSE-MIT.txt LICENSE-APACHE.txt
1e22514
%doc README.md
1e22514
%{cargo_registry}/%{crate}-%{version}/
1e22514
1e22514
%changelog
d98f3a4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
d98f3a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d98f3a4
d722d20
* Mon May 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.6.0-1
d722d20
- Update to 1.6.0
d722d20
eff1d13
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
eff1d13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
eff1d13
e5b0a9e
* Sun Jan 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.1-1
e5b0a9e
- Update to 1.5.1
e5b0a9e
a4d7957
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.0-1
a4d7957
- Update to 1.5.0
a4d7957
7340550
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.0-3
7340550
- Rebuild for rust-packaging v5
7340550
d46d91b
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.0-2
d46d91b
- Bump rand to 0.4
d46d91b
1e22514
* Fri Nov 10 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.0-1
1e22514
- Update to 1.4.0
1e22514
1e22514
* Mon Jul 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.0-1
1e22514
- Update to 1.3.0
1e22514
1e22514
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.2-1
1e22514
- Initial package