From ea6f40d088c91c3893aa09fe9db608d086cb636c Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 17 Jun 2025 00:43:08 -0700 Subject: [PATCH] rm: onefetch (#5533) (#5535) https://src.fedoraproject.org/rpms/rust-onefetch (cherry picked from commit 83cd9f332c54c5b809a1b10ca0d30f834738da1e) Signed-off-by: madomado Co-authored-by: madomado --- anda/langs/rust/onefetch/anda.hcl | 5 - .../onefetch/onefetch-fix-metadata-auto.diff | 11 -- anda/langs/rust/onefetch/rust-onefetch.spec | 103 ------------------ anda/langs/rust/onefetch/update.rhai | 1 - 4 files changed, 120 deletions(-) delete mode 100644 anda/langs/rust/onefetch/anda.hcl delete mode 100644 anda/langs/rust/onefetch/onefetch-fix-metadata-auto.diff delete mode 100644 anda/langs/rust/onefetch/rust-onefetch.spec delete mode 100644 anda/langs/rust/onefetch/update.rhai diff --git a/anda/langs/rust/onefetch/anda.hcl b/anda/langs/rust/onefetch/anda.hcl deleted file mode 100644 index bd7888580c..0000000000 --- a/anda/langs/rust/onefetch/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "rust-onefetch.spec" - } -} diff --git a/anda/langs/rust/onefetch/onefetch-fix-metadata-auto.diff b/anda/langs/rust/onefetch/onefetch-fix-metadata-auto.diff deleted file mode 100644 index 60b7ecb7a4..0000000000 --- a/anda/langs/rust/onefetch/onefetch-fix-metadata-auto.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- onefetch-2.21.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ onefetch-2.21.0/Cargo.toml 2024-07-23T17:12:11.234589+00:00 -@@ -164,8 +164,3 @@ - [features] - fail-on-deprecated = [] - --[target."cfg(windows)".dependencies.enable-ansi-support] --version = "0.2.1" -- --[target."cfg(windows)".build-dependencies.winres] --version = "0.1" diff --git a/anda/langs/rust/onefetch/rust-onefetch.spec b/anda/langs/rust/onefetch/rust-onefetch.spec deleted file mode 100644 index eb3788fc03..0000000000 --- a/anda/langs/rust/onefetch/rust-onefetch.spec +++ /dev/null @@ -1,103 +0,0 @@ -# Generated by rust2rpm 26 -%bcond_without check - -%global crate onefetch - -Name: rust-onefetch -Version: 2.24.0 -Release: 1%?dist -Summary: Command-line Git information tool - -License: MIT -URL: https://crates.io/crates/onefetch -Source: %{crates_source} -# Automatically generated patch to strip dependencies and normalize metadata -Patch: onefetch-fix-metadata-auto.diff - -BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 -BuildRequires: cmake mold - -%global _description %{expand: -Command-line Git information tool.} - -%description %{_description} - -%package -n %{crate} -Summary: %{summary} -License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) - -%description -n %{crate} %{_description} - -%files -n %{crate} -%license LICENSE.md -%license resources/license.cache.zstd -%license src/info/license.rs -%license LICENSE.dependencies -%doc CHANGELOG.md -%doc CONTRIBUTING.md -%doc README.md -%{_bindir}/onefetch - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel %{_description} - -This package contains library source intended for building other packages which -use the "%{crate}" crate. - -%files devel -%license %{crate_instdir}/LICENSE.md -%license %{crate_instdir}/resources/license.cache.zstd -%license %{crate_instdir}/src/info/license.rs -%doc %{crate_instdir}/CHANGELOG.md -%doc %{crate_instdir}/CONTRIBUTING.md -%doc %{crate_instdir}/README.md -%{crate_instdir}/ - -%package -n %{name}+default-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+default-devel %{_description} - -This package contains library source intended for building other packages which -use the "default" feature of the "%{crate}" crate. - -%files -n %{name}+default-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+fail-on-deprecated-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+fail-on-deprecated-devel %{_description} - -This package contains library source intended for building other packages which -use the "fail-on-deprecated" feature of the "%{crate}" crate. - -%files -n %{name}+fail-on-deprecated-devel -%ghost %{crate_instdir}/Cargo.toml - -%prep -%autosetup -n %{crate}-%{version} -p1 -%cargo_prep_online - -%build -cat< license.sh -%{cargo_license} > LICENSE.dependencies -EOF -sed -i "s/--offline//g" license.sh -bash license.sh - -%install -%cargo_install - -%if %{with check} -%check -%cargo_test -%endif - -%changelog -%autochangelog diff --git a/anda/langs/rust/onefetch/update.rhai b/anda/langs/rust/onefetch/update.rhai deleted file mode 100644 index bb9a2f71ec..0000000000 --- a/anda/langs/rust/onefetch/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(crates("onefetch"));