Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent cc87623303
commit 961d720bc8
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,33 +1,28 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate serde_cbor
Name: rust-%{crate}
Version: 0.9.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: CBOR support for serde
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/serde_cbor
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(byteorder/default) >= 1.0.0 with crate(byteorder/default) < 2.0.0)
BuildRequires: (crate(half/default) >= 1.1.2 with crate(half/default) < 2.0.0)
BuildRequires: (crate(serde/default) >= 1.0.14 with crate(serde/default) < 2.0.0)
%if %{with check}
BuildRequires: (crate(serde_bytes/default) >= 0.10.0 with crate(serde_bytes/default) < 0.11.0)
BuildRequires: (crate(serde_derive/default) >= 1.0.14 with crate(serde_derive/default) < 2.0.0)
%endif
%global _description \
CBOR support for serde.
%global _description %{expand:
CBOR support for serde.}
%description %{_description}
@ -58,9 +53,12 @@ which use "default" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -73,6 +71,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Wed Jun 19 23:36:36 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-4
- Regenerate
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save