From e9a2bbf6901bb06dbb642a4cfac6febf663fee13 Mon Sep 17 00:00:00 2001 From: blinxen Date: Thu, 14 Sep 2023 22:31:14 +0200 Subject: [PATCH] Update to version 0.18.0 (rhbz#2233475) --- .gitignore | 1 + gix-mailmap-fix-metadata.diff | 22 ---------------------- rust-gix-mailmap.spec | 20 ++++++++++++++------ rust2rpm.conf | 2 ++ sources | 2 +- 5 files changed, 18 insertions(+), 29 deletions(-) delete mode 100644 gix-mailmap-fix-metadata.diff create mode 100644 rust2rpm.conf diff --git a/.gitignore b/.gitignore index a5389b5..af757f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gix-mailmap-0.16.1.crate +/gix-mailmap-0.18.0.crate diff --git a/gix-mailmap-fix-metadata.diff b/gix-mailmap-fix-metadata.diff deleted file mode 100644 index cd905c4..0000000 --- a/gix-mailmap-fix-metadata.diff +++ /dev/null @@ -1,22 +0,0 @@ ---- gix-mailmap-0.16.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gix-mailmap-0.16.1/Cargo.toml 2023-08-02T13:52:01.290565+00:00 -@@ -15,7 +15,7 @@ - name = "gix-mailmap" - version = "0.16.1" - authors = ["Sebastian Thiel "] --description = "A WIP crate of the gitoxide project for parsing mailmap files" -+description = "Parser for mailmap files for gix" - license = "MIT OR Apache-2.0" - repository = "https://github.com/Byron/gitoxide" - -@@ -37,10 +37,6 @@ - "unicode", - ] - default-features = false -- --[dependencies.document-features] --version = "0.2.0" --optional = true - - [dependencies.gix-actor] - version = "^0.24.1" diff --git a/rust-gix-mailmap.spec b/rust-gix-mailmap.spec index 74892f5..5908b81 100644 --- a/rust-gix-mailmap.spec +++ b/rust-gix-mailmap.spec @@ -6,22 +6,18 @@ %global crate gix-mailmap Name: rust-gix-mailmap -Version: 0.16.1 +Version: 0.18.0 Release: %autorelease Summary: Parser for mailmap files for gix License: MIT OR Apache-2.0 URL: https://crates.io/crates/gix-mailmap Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * improve crate summary / description -# * drop unused optional dependency that is only useful for building docs -Patch: gix-mailmap-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Parser for mailmap files for gix.} +A crate of the gitoxide project for parsing mailmap files.} %description %{_description} @@ -52,6 +48,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+document-features-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+document-features-devel %{_description} + +This package contains library source intended for building other packages which +use the "document-features" feature of the "%{crate}" crate. + +%files -n %{name}+document-features-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..ffc2f0c --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Parser for mailmap files for gix diff --git a/sources b/sources index 04bcf40..9bf2335 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gix-mailmap-0.16.1.crate) = bbc72ce5c87ebb64bcf60f3302a5e90754d235a2d57d94a2531d9c7c0a7c3b2a0fb07e1ce8419bb36edec8d9f50632cb3088a335c11a08dceb3904498d44cca8 +SHA512 (gix-mailmap-0.18.0.crate) = 3c3ea0e249162a98768f533e8cb845d4bb4ce2625b80d506852348bc1da728a8c851faffd4adde05a36514d4b583d94908c3dc000f2e4c9a0da8d8260f85b38d