|
|
|
@ -1,23 +1,29 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate regex
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.1.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Implementation of regular expressions for Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/regex
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Update quickcheck to 0.8, https://github.com/rust-lang/regex/pull/586
|
|
|
|
|
Patch0: regex-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(aho-corasick/default) >= 0.7.3 with crate(aho-corasick/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(memchr/default) >= 2.0.2 with crate(memchr/default) < 3.0.0)
|
|
|
|
|
BuildRequires: (crate(regex-syntax/default) >= 0.6.6 with crate(regex-syntax/default) < 0.7.0)
|
|
|
|
@ -25,13 +31,14 @@ BuildRequires: (crate(thread_local/default) >= 0.3.6 with crate(thread_local/de
|
|
|
|
|
BuildRequires: (crate(utf8-ranges/default) >= 1.0.1 with crate(utf8-ranges/default) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.7.0 with crate(quickcheck) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.8.0 with crate(quickcheck) < 0.9.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.5 with crate(rand/default) < 0.7.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
An implementation of regular expressions for Rust. This implementation uses\
|
|
|
|
|
finite automata and guarantees linear time matching on all inputs.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Implementation of regular expressions for Rust. This implementation uses finite
|
|
|
|
|
automata and guarantees linear time matching on all inputs.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -113,6 +120,9 @@ which use "use_std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 09 10:24:45 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.6-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Tue Apr 16 2019 Josh Stone <jistone@redhat.com> - 1.1.6-1
|
|
|
|
|
- Update to 1.1.6
|
|
|
|
|
|
|
|
|
|