diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5538c76 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/termbg-0.4.4.crate diff --git a/.rust-termbg.metadata b/.rust-termbg.metadata index e69de29..d26a021 100644 --- a/.rust-termbg.metadata +++ b/.rust-termbg.metadata @@ -0,0 +1 @@ +b74160cf7cd4563881ce8e857aaa17ad1d32d1db SOURCES/termbg-0.4.4.crate diff --git a/SOURCES/termbg-0.4.3.crate b/SOURCES/termbg-0.4.3.crate deleted file mode 100644 index a50b7fe..0000000 Binary files a/SOURCES/termbg-0.4.3.crate and /dev/null differ diff --git a/SOURCES/termbg-fix-metadata-auto.diff b/SOURCES/termbg-fix-metadata-auto.diff index 1d46949..7ac30a0 100644 --- a/SOURCES/termbg-fix-metadata-auto.diff +++ b/SOURCES/termbg-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- termbg-0.4.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ termbg-0.4.3/Cargo.toml 2023-08-02T12:44:42.275331+00:00 -@@ -66,11 +66,3 @@ +--- termbg-0.4.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ termbg-0.4.4/Cargo.toml 2024-01-11T20:17:57.934037+00:00 +@@ -69,11 +69,3 @@ [dependencies.thiserror] version = "1" diff --git a/SPECS/rust-termbg.spec b/SPECS/rust-termbg.spec index da682d8..6e040b3 100644 --- a/SPECS/rust-termbg.spec +++ b/SPECS/rust-termbg.spec @@ -8,23 +8,23 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global crate termbg Name: rust-termbg -Version: 0.4.3 +Version: 0.4.4 Release: %autorelease Summary: Terminal background color detection License: MIT OR Apache-2.0 URL: https://crates.io/crates/termbg Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: termbg-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 23 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Terminal background color detection.} @@ -81,7 +81,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 @@ -89,7 +89,7 @@ use the "default" feature of the "%{crate}" crate. %build %cargo_build -%cargo_license_summary +%{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install @@ -101,9 +101,12 @@ use the "default" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 0.4.3-1 +* Mon Jan 15 2024 Arkady L. Shane - 0.4.4-1 - Rebuilt for MSVSphere 9.3 +* Thu Jan 11 2024 Fabio Valentini - 0.4.4-1 +- Update to version 0.4.4; Fixes RHBZ#2253098 + * Wed Aug 02 2023 Fabio Valentini - 0.4.3-1 - Update to version 0.4.3; Fixes RHBZ#2174607