diff --git a/open-fix-metadata.diff b/open-fix-metadata.diff index 200c4c3..a1d8a47 100644 --- a/open-fix-metadata.diff +++ b/open-fix-metadata.diff @@ -1,5 +1,5 @@ ---- open-1.2.2/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ open-1.2.2/Cargo.toml 2019-03-14T00:09:01.196574+01:00 +--- open-1.2.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ open-1.2.2/Cargo.toml 2019-06-22T14:50:38.307547+00:00 @@ -19,11 +19,9 @@ keywords = ["open", "xdg-open", "start", "launch"] license = "MIT" diff --git a/rust-open.spec b/rust-open.spec index 857e0a7..cb25641 100644 --- a/rust-open.spec +++ b/rust-open.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} # Binary is useless @@ -9,9 +9,10 @@ Name: rust-%{crate} Version: 1.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open a path or URL using the program configured on the system +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/open Source: %{crates_source} @@ -21,11 +22,14 @@ Source: %{crates_source} Patch0: open-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Open a path or URL using the program configured on the system. +%global _description %{expand: +Open a path or URL using the program configured on the system.} %description %{_description} @@ -60,6 +64,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 @@ -72,5 +79,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 16:50:38 CEST 2019 Igor Gnatenko - 1.2.2-2 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 1.2.2-1 - Initial package