|
|
|
@ -6,20 +6,20 @@
|
|
|
|
|
%global crate grep-pcre2
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.1.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.1.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Use PCRE2 with the 'grep' crate
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
|
URL: https://crates.io/crates/grep-pcre2
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(grep-matcher/default) >= 0.1.1 with crate(grep-matcher/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(pcre2/default) >= 0.1.1 with crate(pcre2/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(grep-matcher/default) >= 0.1.2 with crate(grep-matcher/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(pcre2/default) >= 0.2.0 with crate(pcre2/default) < 0.3.0)
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Use PCRE2 with the 'grep' crate.
|
|
|
|
@ -53,7 +53,7 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -68,6 +68,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Apr 16 2019 Josh Stone <jistone@redhat.com> - 0.1.3-1
|
|
|
|
|
- Update to 0.1.3
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|