|
|
@ -1,25 +1,20 @@
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
# * temporarily disable tests to work around codegen issues with LLVM 12:
|
|
|
|
%bcond_without check
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2020861
|
|
|
|
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate nom
|
|
|
|
%global crate nom
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-nom
|
|
|
|
Version: 7.1.1
|
|
|
|
Version: 7.1.3
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Byte-oriented, zero-copy, parser combinators library
|
|
|
|
Summary: Byte-oriented, zero-copy, parser combinators library
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/nom
|
|
|
|
URL: https://crates.io/crates/nom
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop examples that are not shipped with the crate
|
|
|
|
# * drop references to example code that is not shipped with the crate
|
|
|
|
Patch0: nom-fix-metadata.diff
|
|
|
|
Patch: nom-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|