From 10b9179ae8391eb71eaa2e9b5135fc8535b2ae4c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 25 May 2022 15:06:52 +0200 Subject: [PATCH] Update to version 0.1.9; Fixes RHBZ#2082752 --- .gitignore | 1 + rust-unindent.spec | 18 ++++++++++-------- sources | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index bfb3948..4928848 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /unindent-0.1.6.crate /unindent-0.1.7.crate /unindent-0.1.8.crate +/unindent-0.1.9.crate diff --git a/rust-unindent.spec b/rust-unindent.spec index 7b916bd..0ffdcfc 100644 --- a/rust-unindent.spec +++ b/rust-unindent.spec @@ -1,11 +1,12 @@ -# Generated by rust2rpm 20 -%bcond_without check +# Generated by rust2rpm 21 +# * tests can only be run in-tree +%bcond_with check %global debug_package %{nil} %global crate unindent Name: rust-%{crate} -Version: 0.1.8 +Version: 0.1.9 Release: %autorelease Summary: Remove a column of leading whitespace from a string @@ -16,7 +17,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Remove a column of leading whitespace from a string.} @@ -33,9 +34,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 +49,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 ec282d5..024b01c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unindent-0.1.8.crate) = 7752f4a29306b3c43f768bc400d610d1537457b22cceae8a5ebba31c857e219dc433a10a676d3cf94316a7cd6c7013c8960c825c6f1f9db5a3c2edd0a60591a8 +SHA512 (unindent-0.1.9.crate) = bcf5a74ee92c034e975dabc83cbb1859100b3ac04439a360a109651d95eb4f29e4a0c113fbd67b9fef2a3b27d10f29dc84bfb648ea4c3dec64b7dab8d14e57ea