|
|
@ -1,29 +1,27 @@
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate bytecount
|
|
|
|
%global crate bytecount
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-bytecount
|
|
|
|
Version: 0.6.3
|
|
|
|
Version: 0.6.3
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Count occurrences of a given byte, or the number of UTF-8 code points
|
|
|
|
Summary: Count occurrences of a given byte, or the number of UTF-8 code points
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
License: Apache-2.0 OR MIT
|
|
|
|
URL: https://crates.io/crates/bytecount
|
|
|
|
URL: https://crates.io/crates/bytecount
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
Patch0: bytecount-fix-metadata.diff
|
|
|
|
Patch: bytecount-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Count occurrences of a given byte, or the number of UTF-8 code points, in a
|
|
|
|
Count occurrences of a given byte, or the number of UTF-8 code points,
|
|
|
|
byte slice, fast.}
|
|
|
|
in a byte slice, fast.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|