|
|
|
@ -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: 0.2.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: High level wrapper library for PCRE2
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
@ -20,12 +20,6 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
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(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)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
High level wrapper library for PCRE2.}
|
|
|
|
@ -62,6 +56,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -74,6 +71,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 27 08:54:59 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 15:18:54 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-1
|
|
|
|
|
- Update to 0.2.1
|
|
|
|
|
|
|
|
|
|