|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
# * missing dev-dependencies: metrohash
|
|
|
|
# * missing dev-dependencies: metrohash
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
@ -10,16 +10,15 @@ Version: 15.1.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Immutable collection datatypes (the fast but not thread safe version)
|
|
|
|
Summary: Immutable collection datatypes (the fast but not thread safe version)
|
|
|
|
|
|
|
|
|
|
|
|
License: MPL-2.0
|
|
|
|
License: MPL-2.0+
|
|
|
|
URL: https://crates.io/crates/im-rc
|
|
|
|
URL: https://crates.io/crates/im-rc
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * fix invalid SPDX identifier in crate license:
|
|
|
|
|
|
|
|
# https://github.com/bodil/im-rs/issues/210
|
|
|
|
|
|
|
|
# * drop optional "pool" feature with missing "refpool" dependency
|
|
|
|
# * drop optional "pool" feature with missing "refpool" dependency
|
|
|
|
|
|
|
|
# * remove reference to readme file that is not included in published crates
|
|
|
|
Patch: im-rc-fix-metadata.diff
|
|
|
|
Patch: im-rc-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Immutable collection datatypes (the fast but not thread safe version).}
|
|
|
|
Immutable collection datatypes (the fast but not thread safe version).}
|
|
|
@ -127,7 +126,7 @@ use the "serde" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|