2 Commits

3 changed files with 19 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 13 12:55:07 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- fix-Makefile.patch: installing a man page with the suffix
.gz does not compress it, fix rename during installation.
-------------------------------------------------------------------
Tue Oct 1 09:26:11 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package cpufetch
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 Taekyung Kim <gnuykeat.mik@gmail.com>
#
# All modifications and additions to the file contributed by third parties
@@ -27,6 +27,7 @@ URL: https://github.com/Dr-Noob/%{name}
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM - Fix arm tests
Patch1: cpufetch-aa94389.patch
Patch2: fix-Makefile.patch
# Supports only x86_64, ARM and PowerPC
ExclusiveArch: %{arm} aarch64 x86_64 ppc ppc64 ppc64le

11
fix-Makefile.patch Normal file
View File

@@ -0,0 +1,11 @@
--- cpufetch-1.06/Makefile.orig 2024-08-18 16:12:27.000000000 +0200
+++ cpufetch-1.06/Makefile 2025-03-13 13:53:43.049026545 +0100
@@ -116,7 +116,7 @@
install: $(OUTPUT)
install -Dm755 "cpufetch" "$(DESTDIR)$(PREFIX)/bin/cpufetch"
install -Dm644 "LICENSE" "$(DESTDIR)$(PREFIX)/share/licenses/cpufetch-git/LICENSE"
- install -Dm644 "cpufetch.1" "$(DESTDIR)$(PREFIX)/share/man/man1/cpufetch.1.gz"
+ install -Dm644 "cpufetch.1" "$(DESTDIR)$(PREFIX)/share/man/man1/cpufetch.1"
uninstall:
rm -f "$(DESTDIR)$(PREFIX)/bin/cpufetch"