diff --git a/rust-pcre2-sys.spec b/rust-pcre2-sys.spec index 9b7b7dd..d69b131 100644 --- a/rust-pcre2-sys.spec +++ b/rust-pcre2-sys.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate pcre2-sys Name: rust-%{crate} Version: 0.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low level bindings to PCRE2 # Upstream license specification: Unlicense/MIT @@ -15,15 +15,20 @@ URL: https://crates.io/crates/pcre2-sys Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(cc/default) >= 1.0.0 with crate(cc/default) < 2.0.0) BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) BuildRequires: (crate(pkg-config/default) >= 0.3.13 with crate(pkg-config/default) < 0.4.0) BuildRequires: pkgconfig(libpcre2-8) +%endif -%global _description \ -Low level bindings to PCRE2. +%global _description %{expand: +Low level bindings to PCRE2.} %description %{_description} @@ -71,6 +76,9 @@ rm -vrf pcre2 %endif %changelog +* Sun Jun 09 11:33:02 CEST 2019 Igor Gnatenko - 0.2.1-2 +- Regenerate + * Tue Apr 30 08:43:36 CEST 2019 Igor Gnatenko - 0.2.1-1 - Update to 0.2.1