From 6cfc6eadfd915fc0646963a1c6412e051464307c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 16 Jul 2022 17:24:10 +0200 Subject: [PATCH] Update to version 0.8.1; Fixes RHBZ#2095985 --- .gitignore | 1 + rust-svgtypes.spec | 29 ++++++++++++++--------------- sources | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index d973c4e..5ef0f1f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /svgtypes-0.5.0.crate /svgtypes-0.6.0.crate /svgtypes-0.8.0.crate +/svgtypes-0.8.1.crate diff --git a/rust-svgtypes.spec b/rust-svgtypes.spec index 5e34e51..48385be 100644 --- a/rust-svgtypes.spec +++ b/rust-svgtypes.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate svgtypes Name: rust-%{crate} -Version: 0.8.0 +Version: 0.8.1 Release: %autorelease Summary: SVG types parser @@ -15,14 +15,11 @@ URL: https://crates.io/crates/svgtypes Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -SVG types parser and writer.} +SVG types parser.} %description %{_description} @@ -32,13 +29,15 @@ 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 -%doc README.tpl README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +45,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index dfbba7e..bc45f9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (svgtypes-0.8.0.crate) = 39a04ea4cd6f6d92abfd74755dc8d3dd184158a57f05dc8973e00e4e0692177459b5e4091333f035aa800c76a81f1c6cfc8ecd66d1aeaa7eff25a036d604f6d1 +SHA512 (svgtypes-0.8.1.crate) = 9f24c35361066c11e3f95137a3172dd437baf61e21d425e11a719688881aef48d55eb10f45218750e4f965d15a58a7aaf0ae92d208232382dae23d78b09aa45b