|
|
|
@ -1,23 +1,21 @@
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate memchr
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Name: rust-memchr
|
|
|
|
|
Version: 2.5.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Safe interface to memchr
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
|
License: Unlicense OR MIT
|
|
|
|
|
URL: https://crates.io/crates/memchr
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * exclude scripts used for upstream development
|
|
|
|
|
Patch0: memchr-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * exclude files that are only useful for upstream development
|
|
|
|
|
Patch: memchr-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|