|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.1.7
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Implementation of regular expressions for Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -20,19 +20,6 @@ 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)
|
|
|
|
|
BuildRequires: (crate(thread_local/default) >= 0.3.6 with crate(thread_local/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(utf8-ranges/default) >= 1.0.1 with crate(utf8-ranges/default) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(doc-comment/default) >= 0.3.0 with crate(doc-comment/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.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 %{expand:
|
|
|
|
|
Implementation of regular expressions for Rust. This implementation uses finite
|
|
|
|
@ -106,6 +93,9 @@ which use "use_std" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -118,6 +108,9 @@ which use "use_std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 20 09:20:14 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.7-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 15:15:29 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.7-1
|
|
|
|
|
- Update to 1.1.7
|
|
|
|
|
|
|
|
|
|