From 44245ef8320b2cf70e1116fc4e3ea54e489e718d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 15 Jul 2022 13:20:21 +0200 Subject: [PATCH] Update to version 1.0.7; Fixes RHBZ#2098491 --- .gitignore | 1 + rust-rustversion.spec | 15 ++++++++------- sources | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 8dabb16..1c9756a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /rustversion-1.0.4.crate /rustversion-1.0.5.crate /rustversion-1.0.6.crate +/rustversion-1.0.7.crate diff --git a/rust-rustversion.spec b/rust-rustversion.spec index 045ff17..4beb99b 100644 --- a/rust-rustversion.spec +++ b/rust-rustversion.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate rustversion Name: rust-%{crate} -Version: 1.0.6 +Version: 1.0.7 Release: %autorelease Summary: Conditional compilation according to rustc compiler version @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Conditional compilation according to rustc compiler version.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +48,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 795f514..bd3bc12 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustversion-1.0.6.crate) = fa9efca7e49eff6c510d062d02fc73d15341b1fe16d24dada86108202a4295d2e0519aecf3f1701540cd4d49a513c05e74d3d27e21e5eb3cb1aba46c70a992cc +SHA512 (rustversion-1.0.7.crate) = 2c3a41c6ffc3bb5e104c24690bad6149ad13aae55b8d82582e3878056494b8f10c99cb4170a0b0d38c2cf6bc3657f0a52ded1dd15168703a43a615ed0c6f8c6e