From 1bfbaf4bbdc126d518031c0d612c7cf858bfe156 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 21 2019 17:48:34 +0000 Subject: Regenerate Signed-off-by: Igor Gnatenko --- diff --git a/openssh-keys-fix-metadata.diff b/openssh-keys-fix-metadata.diff new file mode 100644 index 0000000..9c3804e --- /dev/null +++ b/openssh-keys-fix-metadata.diff @@ -0,0 +1,10 @@ +--- openssh-keys-0.4.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ openssh-keys-0.4.1/Cargo.toml 2019-06-21T17:48:05.881075+00:00 +@@ -47,6 +47,6 @@ + [dependencies.sha2] + version = "0.8" + [dev-dependencies.dirs] +-version = "1.0" ++version = "2.0" + [badges.travis-ci] + repository = "coreos/openssh-keys" diff --git a/rust-openssh-keys.spec b/rust-openssh-keys.spec index 8eff20c..0ad20bd 100644 --- a/rust-openssh-keys.spec +++ b/rust-openssh-keys.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate openssh-keys @@ -13,21 +13,19 @@ Summary: Read and write OpenSSH public keys License: MIT or ASL 2.0 URL: https://crates.io/crates/openssh-keys Source: %{crates_source} +# Initial patched metadata +# * Update dirs to 2.0, https://github.com/coreos/openssh-keys/pull/33 +Patch0: openssh-keys-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(base64/default) >= 0.10.0 with crate(base64/default) < 0.11.0) -BuildRequires: (crate(byteorder/default) >= 1.1.0 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(error-chain) >= 0.12.0 with crate(error-chain) < 0.13.0) -BuildRequires: (crate(md-5/default) >= 0.8.0 with crate(md-5/default) < 0.9.0) -BuildRequires: (crate(sha2/default) >= 0.8.0 with crate(sha2/default) < 0.9.0) -%if %{with check} -BuildRequires: (crate(dirs/default) >= 1.0.0 with crate(dirs/default) < 2.0.0) -%endif -%global _description \ -Read and write OpenSSH public keys. +%global _description %{expand: +Read and write OpenSSH public keys.} %description %{_description} @@ -61,6 +59,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 @@ -73,5 +74,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 19:48:05 CEST 2019 Igor Gnatenko - 0.4.1-2 +- Regenerate + * Sat Apr 27 09:16:32 CEST 2019 Igor Gnatenko - 0.4.1-1 - Initial package