From 1e1538df32b397faced546a65f760472ea80f8fc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 18 Feb 2022 19:11:03 +0100 Subject: [PATCH] Update to version 0.1.8; Fixes RHBZ#2055974 --- .gitignore | 1 + rust-unindent.spec | 17 +++++++---------- sources | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index fa28799..bfb3948 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /unindent-0.1.5.crate /unindent-0.1.6.crate /unindent-0.1.7.crate +/unindent-0.1.8.crate diff --git a/rust-unindent.spec b/rust-unindent.spec index cdf4ac3..7b916bd 100644 --- a/rust-unindent.spec +++ b/rust-unindent.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate unindent Name: rust-%{crate} -Version: 0.1.7 +Version: 0.1.8 Release: %autorelease Summary: Remove a column of leading whitespace from a string @@ -15,9 +15,6 @@ URL: https://crates.io/crates/unindent Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,11 +29,11 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -46,8 +43,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 diff --git a/sources b/sources index 760297c..ec282d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unindent-0.1.7.crate) = d3f4543f97f1386f63306a206074de1d10077ae968ea6eb6638545eeaf8cef662e1c84a15788e9df640eeb6af4cbc187721ec01af43984e4eeb2dfb0423c6d70 +SHA512 (unindent-0.1.8.crate) = 7752f4a29306b3c43f768bc400d610d1537457b22cceae8a5ebba31c857e219dc433a10a676d3cf94316a7cd6c7013c8960c825c6f1f9db5a3c2edd0a60591a8