From bcd52f1be8c3ca4c56cca1d6f409501f821b0892 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 23 2019 08:27:11 +0000 Subject: Regenerate Signed-off-by: Igor Gnatenko --- diff --git a/rust-inotify.spec b/rust-inotify.spec index 1d9031b..69fcbd9 100644 --- a/rust-inotify.spec +++ b/rust-inotify.spec @@ -1,36 +1,29 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate inotify Name: rust-%{crate} Version: 0.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Idiomatic wrapper for inotify +# Upstream license specification: ISC # https://github.com/inotify-rs/inotify/issues/128 License: ISC URL: https://crates.io/crates/inotify Source: %{crates_source} 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(futures/default) >= 0.1.0 with crate(futures/default) < 0.2.0) -BuildRequires: (crate(inotify-sys/default) >= 0.1.3 with crate(inotify-sys/default) < 0.2.0) -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) -BuildRequires: (crate(mio/default) >= 0.6.0 with crate(mio/default) < 0.7.0) -BuildRequires: (crate(tokio-io/default) >= 0.1.0 with crate(tokio-io/default) < 0.2.0) -BuildRequires: (crate(tokio-reactor/default) >= 0.1.0 with crate(tokio-reactor/default) < 0.2.0) -BuildRequires: (crate(tokio/default) >= 0.1.0 with crate(tokio/default) < 0.2.0) -%if %{with check} -BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0) -%endif -%global _description \ -Idiomatic wrapper for inotify. +%global _description %{expand: +Idiomatic wrapper for inotify.} %description %{_description} @@ -135,6 +128,9 @@ which use "tokio-reactor" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -147,5 +143,8 @@ which use "tokio-reactor" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 23 10:26:42 CEST 2019 Igor Gnatenko - 0.7.0-2 +- Regenerate + * Mon Mar 11 2019 Igor Gnatenko - 0.7.0-1 - Initial package