|
|
|
@ -6,21 +6,19 @@
|
|
|
|
|
%global crate memchr
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 2.1.3
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 2.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Safe interface to memchr
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
|
URL: https://crates.io/crates/memchr
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(cfg-if/default) >= 0.1.5 with crate(cfg-if/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.18 with crate(libc) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(libc/use_std) >= 0.2.18 with crate(libc/use_std) < 0.3.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.8.0 with crate(quickcheck) < 0.9.0)
|
|
|
|
|
%endif
|
|
|
|
@ -81,7 +79,7 @@ which use "use_std" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -96,6 +94,9 @@ which use "use_std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Feb 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.2.0-1
|
|
|
|
|
- Update to 2.2.0
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|