|
|
@ -7,12 +7,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 2.0.1
|
|
|
|
Version: 2.0.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Safe interface to memchr
|
|
|
|
Summary: Safe interface to memchr
|
|
|
|
|
|
|
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
URL: https://crates.io/crates/memchr
|
|
|
|
URL: https://crates.io/crates/memchr
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Bump quickcheck to 0.6, https://github.com/BurntSushi/rust-memchr/pull/25
|
|
|
|
|
|
|
|
Patch0: memchr-2.0.1-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
@ -21,7 +24,7 @@ BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.18 with crate(libc) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.18 with crate(libc) < 0.3.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.5.0 with crate(quickcheck) < 0.6.0)
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -59,6 +62,9 @@ which use %{crate} from crates.io.
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,appveyor.yml,ctags.rust,session.vim}
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,appveyor.yml,ctags.rust,session.vim}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-2
|
|
|
|
|
|
|
|
- Bump quickcheck to 0.6
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-1
|
|
|
|
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-1
|
|
|
|
- Update to 2.0.1
|
|
|
|
- Update to 2.0.1
|
|
|
|
|
|
|
|
|
|
|
|