|
|
|
@ -1,23 +1,20 @@
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate ron
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.7.1
|
|
|
|
|
Name: rust-ron
|
|
|
|
|
Version: 0.8.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Rusty Object Notation
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/ron
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop missing option_set dev-dependency
|
|
|
|
|
Patch0: ron-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
Patch: ron-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
@ -66,9 +63,21 @@ use the "indexmap" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+indexmap-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+integer128-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+integer128-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "integer128" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+integer128-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
# drop the only test that requires option_set
|
|
|
|
|
# drop the only test that requires the option_set crate
|
|
|
|
|
rm tests/152_bitflags.rs
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|