From d1415a86f9151711595735881ed61e2b7d74022a Mon Sep 17 00:00:00 2001 From: blinxen Date: Thu, 14 Sep 2023 22:30:44 +0200 Subject: [PATCH] Update to version 0.12.0 (rhbz#2236872) --- .gitignore | 1 + gix-glob-fix-metadata.diff | 22 ---------------------- rust-gix-glob.spec | 20 ++++++++++++++------ rust2rpm.conf | 2 ++ sources | 2 +- 5 files changed, 18 insertions(+), 29 deletions(-) delete mode 100644 gix-glob-fix-metadata.diff create mode 100644 rust2rpm.conf diff --git a/.gitignore b/.gitignore index 72e537c..464c2c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gix-glob-0.10.1.crate +/gix-glob-0.12.0.crate diff --git a/gix-glob-fix-metadata.diff b/gix-glob-fix-metadata.diff deleted file mode 100644 index ab76c08..0000000 --- a/gix-glob-fix-metadata.diff +++ /dev/null @@ -1,22 +0,0 @@ ---- gix-glob-0.10.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gix-glob-0.10.1/Cargo.toml 2023-08-01T18:32:54.938103+00:00 -@@ -15,7 +15,7 @@ - name = "gix-glob" - version = "0.10.1" - authors = ["Sebastian Thiel "] --description = "A WIP crate of the gitoxide project dealing with pattern matching" -+description = "Glob pattern matching implementation for gix" - license = "MIT OR Apache-2.0" - repository = "https://github.com/Byron/gitoxide" - -@@ -38,10 +38,6 @@ - features = ["std"] - default-features = false - --[dependencies.document-features] --version = "0.2.0" --optional = true -- - [dependencies.gix-features] - version = "^0.32.1" - diff --git a/rust-gix-glob.spec b/rust-gix-glob.spec index 5240d89..e2a113e 100644 --- a/rust-gix-glob.spec +++ b/rust-gix-glob.spec @@ -6,22 +6,18 @@ %global crate gix-glob Name: rust-gix-glob -Version: 0.10.1 +Version: 0.12.0 Release: %autorelease Summary: Glob pattern matching implementation for gix License: MIT OR Apache-2.0 URL: https://crates.io/crates/gix-glob 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-glob-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Glob pattern matching implementation for gix.} +A crate of the gitoxide project dealing with pattern matching.} %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..6ecfbdf --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Glob pattern matching implementation for gix diff --git a/sources b/sources index 02007ca..81f1333 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gix-glob-0.10.1.crate) = 7518c7729964e8a5a2f347e34e34a96cecc7dc789ee754d18e5262006f7ef18e85e4e77870425998c172ed3c6ae9ab96e7be7e79d5c143055a11898dc9d1dece +SHA512 (gix-glob-0.12.0.crate) = c1994e1e2074f6f708a9ecdb51b0f7c37557932305726a4bc554213112719e1fae2c601b97659a7e4ca6b2270ba8f60d62603709da85b41a2fbbb26606da08ed