public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hardinfo2] f45: Respect %_prefix
@ 2026-08-17 21:40 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-17 21:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hardinfo2
Branch : f45
Commit : b88a5828fa3e4f48fe7a1aa3f20c79cd08c1928e
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-07-27T22:04:02-04:00
Stats : +2/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hardinfo2/c/b88a5828fa3e4f48fe7a1aa3f20c79cd08c1928e?branch=f45
Log:
Respect %_prefix
The %cmake macro properly defines CMAKE_INSTALL_PREFIX.
---
diff --git a/hardinfo2.spec b/hardinfo2.spec
index 23a6bbe..24d3d57 100644
--- a/hardinfo2.spec
+++ b/hardinfo2.spec
@@ -102,6 +102,8 @@ Features include:
%prep
%autosetup -p1 -n hardinfo2-release-%{version}
+# respect %%_prefix used in %%cmake call
+sed -i -e '/^SET.CMAKE_INSTALL_PREFIX/d' CMakeLists.txt
%build
%cmake -DCMAKE_BUILD_TYPE=Release
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-17 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 21:40 [rpms/hardinfo2] f45: Respect %_prefix Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox