|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate untrusted
|
|
|
|
%global crate untrusted
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-untrusted
|
|
|
|
Name: rust-untrusted
|
|
|
|
Version: 0.7.1
|
|
|
|
Version: 0.9.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs
|
|
|
|
Summary: Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs
|
|
|
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ License: ISC
|
|
|
|
URL: https://crates.io/crates/untrusted
|
|
|
|
URL: https://crates.io/crates/untrusted
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
|
|
|
|
Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
|
|
|
@ -48,10 +48,8 @@ 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
|
|
|
|
# clean up CRLF line endings in license file
|
|
|
|
|
|
|
|
sed -i 's/\r$//' LICENSE.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|