|
|
@ -1,23 +1,23 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
# * files required by tests are not included in published crates
|
|
|
|
# * files required by tests are not included in published crates
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# prevent executables from being installed
|
|
|
|
|
|
|
|
%global cargo_install_bin 0
|
|
|
|
|
|
|
|
|
|
|
|
%global crate escargot
|
|
|
|
%global crate escargot
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-escargot
|
|
|
|
Name: rust-escargot
|
|
|
|
Version: 0.5.8
|
|
|
|
Version: 0.5.13
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Cargo API written in Paris
|
|
|
|
Summary: Cargo API written in Paris
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/escargot
|
|
|
|
URL: https://crates.io/crates/escargot
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
|
|
|
# * drop unwanted executables
|
|
|
|
|
|
|
|
Patch: escargot-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 26
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Cargo API written in Paris.}
|
|
|
|
Cargo API written in Paris.}
|
|
|
@ -100,7 +100,7 @@ use the "test_unstable" 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
|
|
|
|