From 190309b9cc0030fb781535adf3dfd47042993e3e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 23:30:46 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- onig-fix-metadata.diff | 4 ++-- rust-onig.spec | 28 +++++++++++++++++----------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/onig-fix-metadata.diff b/onig-fix-metadata.diff index 9c0173f..34739f0 100644 --- a/onig-fix-metadata.diff +++ b/onig-fix-metadata.diff @@ -1,5 +1,5 @@ ---- onig-4.3.2/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ onig-4.3.2/Cargo.toml 2019-02-10T11:00:21.118138+01:00 +--- onig-4.3.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ onig-4.3.2/Cargo.toml 2019-06-22T21:30:16.888894+00:00 @@ -32,5 +32,3 @@ posix-api = ["onig_sys/posix-api"] print-debug = ["onig_sys/print-debug"] diff --git a/rust-onig.spec b/rust-onig.spec index 600b548..7454f57 100644 --- a/rust-onig.spec +++ b/rust-onig.spec @@ -1,15 +1,15 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate onig Name: rust-%{crate} Version: 4.3.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of rust bindings for the oniguruma regular expression library +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/onig Source: %{crates_source} @@ -18,16 +18,16 @@ Source: %{crates_source} Patch0: onig-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0) -BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0) -BuildRequires: (crate(onig_sys/default) >= 69.1.0 with crate(onig_sys/default) < 70.0.0) -%global _description \ -Rust-Onig is a set of Rust bindings for the Oniguruma regular expression\ -library. Oniguruma is a modern regex library with support for multiple\ -character encodings and regex syntaxes. +%global _description %{expand: +Rust-Onig is a set of Rust bindings for the Oniguruma regular expression +library. Oniguruma is a modern regex library with support for multiple +character encodings and regex syntaxes.} %description %{_description} @@ -96,6 +96,9 @@ which use "std-pattern" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -108,6 +111,9 @@ which use "std-pattern" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 23:30:17 CEST 2019 Igor Gnatenko - 4.3.2-3 +- Regenerate + * Sun Mar 10 2019 Igor Gnatenko - 4.3.2-2 - Do not pull optional dependencies