diff --git a/.gitignore b/.gitignore index 16dae5c..6858d88 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /anstyle-query-1.0.0.crate +/anstyle-query-1.0.2.crate diff --git a/anstyle-query-fix-metadata-auto.diff b/anstyle-query-fix-metadata-auto.diff index aadec4d..96ec2d4 100644 --- a/anstyle-query-fix-metadata-auto.diff +++ b/anstyle-query-fix-metadata-auto.diff @@ -1,11 +1,11 @@ ---- anstyle-query-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ anstyle-query-1.0.0/Cargo.toml 2023-05-05T15:01:07.594233+00:00 -@@ -71,9 +71,3 @@ +--- anstyle-query-1.0.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ anstyle-query-1.0.2/Cargo.toml 2024-01-11T20:06:48.873832+00:00 +@@ -72,9 +72,3 @@ [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD""" - exactly = 1 + search = "" -[target."cfg(windows)".dependencies.windows-sys] --version = "0.48.0" +-version = "0.52.0" -features = [ - "Win32_System_Console", - "Win32_Foundation", diff --git a/rust-anstyle-query.spec b/rust-anstyle-query.spec index d787f9e..d20cc38 100644 --- a/rust-anstyle-query.spec +++ b/rust-anstyle-query.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate anstyle-query Name: rust-anstyle-query -Version: 1.0.0 +Version: 1.0.2 Release: %autorelease Summary: Look up colored console capabilities License: MIT OR Apache-2.0 URL: https://crates.io/crates/anstyle-query Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: anstyle-query-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Look up colored console capabilities.} @@ -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 a6fcbc4..90a93db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anstyle-query-1.0.0.crate) = 2781be5c82293b7ae338ec5046fbeb130de9eb2dbf2e4dfaa73ca5233032e1e52c133e141b02f33d4bc36d996a0a3f680ac82d42d614a5305005f60547133c7a +SHA512 (anstyle-query-1.0.2.crate) = f409b624cbeecf58fd87c47f85be28cae1fe48f65d692195fb80854c514e38c40d0e0ffad3a5b388a3929c47bd2060302ebb635aa98dc57329f3a5ed7be3e2dc