|
|
@ -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_codegen
|
|
|
|
%global crate string_cache_codegen
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-string_cache_codegen
|
|
|
|
Name: rust-string_cache_codegen
|
|
|
|
Version: 0.5.2
|
|
|
|
Version: 0.5.3
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Codegen library for string-cache, developed as part of the Servo project
|
|
|
|
Summary: Codegen library for string-cache, 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_codegen
|
|
|
|
URL: https://crates.io/crates/string_cache_codegen
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
|
|
|
# * bump phf dependencies from 0.10 to 0.11
|
|
|
|
|
|
|
|
Patch: string_cache_codegen-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A codegen library for string-cache, developed as part of the Servo
|
|
|
|
A codegen library for string-cache, developed as part of the Servo
|
|
|
@ -51,7 +48,7 @@ use the "default" 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
|
|
|
|