|
|
@ -1,22 +1,19 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
%bcond_without check
|
|
|
|
%bcond check 1
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate string_cache
|
|
|
|
%global crate string_cache
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-string_cache
|
|
|
|
Name: rust-string_cache
|
|
|
|
Version: 0.8.7
|
|
|
|
Version: 0.8.8
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: String interning library for Rust, developed as part of the Servo project
|
|
|
|
Summary: String interning library for Rust, developed as part of the Servo project
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/string_cache
|
|
|
|
URL: https://crates.io/crates/string_cache
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
|
|
|
# * bump phf_shared dependency from 0.10 to 0.11
|
|
|
|
|
|
|
|
Patch: string_cache-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A string interning library for Rust, developed as part of the Servo
|
|
|
|
A string interning library for Rust, developed as part of the Servo
|
|
|
@ -76,7 +73,7 @@ use the "serde_support" 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
|
|
|
|