|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# regex(dev) -> quickcheck(opt) -> env_logger(opt) -> regex
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate regex
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Implementation of regular expressions for Rust
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
@ -15,6 +15,7 @@ URL: https://crates.io/crates/regex
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * simd is nightly
|
|
|
|
|
# * Bump lazy_static to 1, https://github.com/rust-lang/regex/pull/423
|
|
|
|
|
Patch0: regex-0.2.3-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -28,7 +29,7 @@ BuildRequires: (crate(thread_local) >= 0.3.2 with crate(thread_local) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(utf8-ranges) >= 1.0.0 with crate(utf8-ranges) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
BuildRequires: (crate(lazy_static) >= 0.2.2 with crate(lazy_static) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.4.1 with crate(quickcheck) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(rand) >= 0.3.15 with crate(rand) < 0.4.0)
|
|
|
|
|
%endif
|
|
|
|
@ -69,6 +70,9 @@ which use %{crate} from crates.io.
|
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci,scripts}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.3-2
|
|
|
|
|
- Bump lazy_static to 1
|
|
|
|
|
|
|
|
|
|
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.3-1
|
|
|
|
|
- Update to 0.2.3
|
|
|
|
|
|
|
|
|
|