|
|
@ -6,21 +6,21 @@
|
|
|
|
%global crate pcre2
|
|
|
|
%global crate pcre2
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.1
|
|
|
|
Version: 0.2.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: High level wrapper library for PCRE2
|
|
|
|
Summary: High level wrapper library for PCRE2
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
URL: https://crates.io/crates/pcre2
|
|
|
|
URL: https://crates.io/crates/pcre2
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.46 with crate(libc/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0)
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0)
|
|
|
|
BuildRequires: (crate(pcre2-sys/default) >= 0.1.0 with crate(pcre2-sys/default) < 0.2.0)
|
|
|
|
BuildRequires: (crate(pcre2-sys/default) >= 0.2.0 with crate(pcre2-sys/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(thread_local/default) >= 0.3.6 with crate(thread_local/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(thread_local/default) >= 0.3.6 with crate(thread_local/default) < 0.4.0)
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description \
|
|
|
@ -55,7 +55,7 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -70,6 +70,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Apr 16 2019 Josh Stone <jistone@redhat.com> - 0.2.0-1
|
|
|
|
|
|
|
|
- Update to 0.2.0
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|