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

@ -1,12 +1,12 @@
# Generated by rust2rpm-9-1.fc31
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate serde_bytes
Name: rust-%{crate}
Version: 0.11.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Optimized handling of `&[u8]` and `Vec<u8>` for Serde
# Upstream license specification: MIT OR Apache-2.0
@ -15,18 +15,14 @@ URL: https://crates.io/crates/serde_bytes
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde/std) >= 1.0.0 with crate(serde/std) < 2.0.0)
%if %{with check}
BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0)
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
BuildRequires: (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0)
%endif
%global _description \
Optimized handling of `&[u8]` and `Vec<u8>` for Serde.
%global _description %{expand:
Optimized handling of `&[u8]` and `Vec<u8>` for Serde.}
%description %{_description}
@ -84,6 +80,9 @@ which use "std" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -96,6 +95,9 @@ which use "std" feature of "%{crate}" crate.
%endif
%changelog
* Thu Jun 20 16:54:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.1-2
- Regenerate
* Thu May 09 14:32:23 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.1-1
- Update to 0.11.1

Loading…
Cancel
Save