|
|
|
@ -1,18 +1,21 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# memchr(dev) -> quickcheck(opt) -> env_logger(opt) -> regex -> memchr
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate memchr
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 2.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Safe interface to memchr
|
|
|
|
|
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
|
URL: https://crates.io/crates/memchr
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Bump memchr to 0.5, https://github.com/BurntSushi/rust-memchr/pull/22
|
|
|
|
|
Patch0: memchr-2.0.0-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
@ -21,7 +24,7 @@ BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.18 with crate(libc) < 0.3.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.4.1 with crate(quickcheck) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.5.0 with crate(quickcheck) < 0.6.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -59,6 +62,10 @@ which use %{crate} from crates.io.
|
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,appveyor.yml,ctags.rust,session.vim}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 29 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-2
|
|
|
|
|
- Bump quickcheck to 0.5
|
|
|
|
|
- Enable tests
|
|
|
|
|
|
|
|
|
|
* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-1
|
|
|
|
|
- Update to 2.0.0
|
|
|
|
|
|
|
|
|
|