repo.or.cz
/
libxcrypt.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
cd7a8f9
)
rpkg: Add NVR and target cpu to config.cache name template
author
Björn Esser
<
[email protected]
>
Sat, 15 Feb 2025 10:32:15 +0000
(15 11:32 +0100)
committer
Björn Esser
<
[email protected]
>
Sat, 15 Feb 2025 10:32:15 +0000
(15 11:32 +0100)
libxcrypt.spec.rpkg
patch
|
blob
|
blame
|
history
diff --git
a/libxcrypt.spec.rpkg
b/libxcrypt.spec.rpkg
index
42a5bce
..
448598e
100644
(file)
--- a/
libxcrypt.spec.rpkg
+++ b/
libxcrypt.spec.rpkg
@@
-108,7
+108,9
@@
# Create config.cache to speedup the run of
# the configure script for the compat package.
-%global config_cache %(mktemp -tu %{name}-XXXXXXXXXXXXXXXX-config.cache)
+%global nvrt_str %{name}-%{version}-%{release}.%{_target_cpu}
+%global mktemplate %{nvrt_str}-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+%global config_cache %(mktemp -tu %{mktemplate}-config.cache)
# Common configure options.