From ef5dfe0ccede6526662f448f344c9c8318266bf5 Mon Sep 17 00:00:00 2001 From: blinxen Date: Tue, 6 Jun 2023 21:11:22 +0200 Subject: [PATCH] Update to version 0.5.1 --- .gitignore | 1 + rust-gix-date.spec | 11 +++-------- sources | 1 + 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 4b9bdb2..bb07617 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /gix-date-0.5.0.crate /LICENSE-MIT /LICENSE-APACHE +/gix-date-0.5.1.crate diff --git a/rust-gix-date.spec b/rust-gix-date.spec index 3541210..b8fae94 100644 --- a/rust-gix-date.spec +++ b/rust-gix-date.spec @@ -5,7 +5,7 @@ %global crate gix-date Name: rust-gix-date -Version: 0.5.0 +Version: 0.5.1 Release: %autorelease Summary: Parse dates the way git does @@ -13,9 +13,6 @@ Summary: Parse dates the way git does License: MIT OR Apache-2.0 URL: https://crates.io/crates/gix-date Source: %{crates_source} -# This will not be required in the next release --> https://github.com/Byron/gitoxide/pull/863 -Source1: https://raw.githubusercontent.com/Byron/gitoxide/%{crate}-v%{version}/LICENSE-APACHE -Source2: https://raw.githubusercontent.com/Byron/gitoxide/%{crate}-v%{version}/LICENSE-MIT # Manually created patch for downstream crate metadata changes # * Disable feature that is only required for building documentation Patch: gix-date-fix-metadata.diff @@ -37,8 +34,8 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-MIT -%license LICENSE-APACHE +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CHANGELOG.md %{crate_instdir}/ @@ -69,8 +66,6 @@ use the "serde" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep -cp -pav %{SOURCE1} . -cp -pav %{SOURCE2} . %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index 9c451f3..4d816fc 100644 --- a/sources +++ b/sources @@ -1,3 +1,4 @@ SHA512 (gix-date-0.5.0.crate) = d6ce8b185f9d6edb3392d91a481eeb04a39d61e0bc3ae3ee3d59be9c77f502d444cad089e743af4e7638b815e36669a9372d50fb160b68b61373028958f32288 SHA512 (LICENSE-MIT) = c433e9e2ad3ff1b500852bcde75e4bf997a96aa26bf833d4bc63969a7914cac4b1d94a60827020054e45e9f03adfcee0f063fdedd645844b675c758167d08298 SHA512 (LICENSE-APACHE) = 52e697d2bdd5d406f972724b5880a38a1ad967378fa6829092652ae52436b5e8a101bc9363f31d7cba6030e27016dbebe82cccd2e43aa7abc88d517d537bf38a +SHA512 (gix-date-0.5.1.crate) = dccdc9867c8eb8639438270845e1d1be160157e9c1184aefc1219486fab2147564234dfe04a1f9f77005e5afa05a3b9bfba7d176fe5d6d487f598557e22935b6