|
|
|
@ -1,25 +1,29 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# Generated by rust2rpm 12
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate untrusted
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.6.2
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.7.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Safe and fast parsing of untrusted inputs in Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: ISC
|
|
|
|
|
License: ISC
|
|
|
|
|
URL: https://crates.io/crates/untrusted
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted\
|
|
|
|
|
inputs in Rust.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted
|
|
|
|
|
inputs in Rust.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -33,8 +37,9 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -46,13 +51,16 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
sed -i 's/\r$//' LICENSE.txt
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -65,6 +73,9 @@ sed -i 's/\r$//' LICENSE.txt
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 17 2019 Josh Stone <jistone@redhat.com> - 0.7.0-1
|
|
|
|
|
- Update to 0.7.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|