diff --git a/.gitignore b/.gitignore index bc98e96..e09a902 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /grep-cli-0.1.7.crate /grep-cli-0.1.8.crate /grep-cli-0.1.9.crate +/grep-cli-0.1.10.crate diff --git a/grep-cli-fix-metadata-auto.diff b/grep-cli-fix-metadata-auto.diff index 89636c4..b55aaad 100644 --- a/grep-cli-fix-metadata-auto.diff +++ b/grep-cli-fix-metadata-auto.diff @@ -1,8 +1,8 @@ ---- grep-cli-0.1.9/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ grep-cli-0.1.9/Cargo.toml 2023-07-21T15:01:06.972055+00:00 -@@ -51,5 +51,3 @@ - [dependencies.termcolor] - version = "1.0.4" +--- grep-cli-0.1.10/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ grep-cli-0.1.10/Cargo.toml 2023-12-02T11:13:38.565915+00:00 +@@ -46,5 +46,3 @@ + [target."cfg(unix)".dependencies.libc] + version = "0.2.148" -[target."cfg(windows)".dependencies.winapi-util] --version = "0.1.1" +-version = "0.1.6" diff --git a/rust-grep-cli.spec b/rust-grep-cli.spec index f4da218..6ae3138 100644 --- a/rust-grep-cli.spec +++ b/rust-grep-cli.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate grep-cli Name: rust-grep-cli -Version: 0.1.9 +Version: 0.1.10 Release: %autorelease Summary: Utilities for search oriented command line applications License: Unlicense OR MIT URL: https://crates.io/crates/grep-cli Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: grep-cli-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Utilities for search oriented command line applications.} @@ -50,7 +50,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 0b49218..0f9d464 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-cli-0.1.9.crate) = 572cf0555bfc646558d9ea1dbb5e319eef36b452dd563ab11e836b0863a4345799ca393e98bd2f40aff4acb0c2adba77c59151d7615e29e7de7cec83d45f5c07 +SHA512 (grep-cli-0.1.10.crate) = 057bc0192bc2dab55babdc40c94d421f2e30d3001801469480bbdd77eeee896c3b4a2f17e7a648e7d21f178636ab1363eb3b3abbd3a6e453d07d1c2d60a53112