From 5776e98165099b9dc23ee050087943d939be8982 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Jul 16 2022 13:07:29 +0000 Subject: Update to version 0.4.2; Fixes RHBZ#2092527 --- diff --git a/.gitignore b/.gitignore index 9428aef..a5bdfc3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /iso8601-0.3.0.crate /iso8601-0.4.0.crate /iso8601-0.4.1.crate +/iso8601-0.4.2.crate diff --git a/rust-iso8601.spec b/rust-iso8601.spec index 10d53cc..d7cd51f 100644 --- a/rust-iso8601.spec +++ b/rust-iso8601.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate iso8601 Name: rust-%{crate} -Version: 0.4.1 +Version: 0.4.2 Release: %autorelease Summary: Parsing ISO8601 dates using nom @@ -15,11 +15,8 @@ URL: https://crates.io/crates/iso8601 Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Parsing ISO8601 dates using nom.} @@ -32,13 +29,14 @@ 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 -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,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 %package -n %{name}+std-devel Summary: %{summary} @@ -58,11 +56,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 4226eb4..bad1d6f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (iso8601-0.4.1.crate) = c7c25a608eafc67f3fcf5858aa2a69ee68d2a76e2b3c925cc5dee0a644e1f48ad1d80485ef6e9168fcc592e2e95bd1a16e763984e9b646a3c64b14d9f779c2b6 +SHA512 (iso8601-0.4.2.crate) = 736e33ae8df6d8fd187726c0b8bec04d64abf40d5a569e65b2b06e2158b9876fc7c447eb96e2cb76fdb4e2b1f53b2a35c69815594af769e5bd42248512b36ae4