forked from pool/schismtracker
Jan Engelhardt
200fdf3ec7
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/schismtracker?expand=0&rev=79
27 lines
813 B
Diff
27 lines
813 B
Diff
From: Jan Engelhardt <jengelh@medozas.de>
|
|
Upstream: never
|
|
|
|
Replace __DATE__ and __TIME__ with static text.
|
|
|
|
Note: rpmlint will still complain when the static date that was
|
|
encoded happens to be the current day. That is ok, since rpmlint
|
|
uses just a heuristic - excessive rebuilds should not actually
|
|
be happening.
|
|
---
|
|
schism/version.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: schismtracker-20240529/schism/version.c
|
|
===================================================================
|
|
--- schismtracker-20240529.orig/schism/version.c
|
|
+++ schismtracker-20240529/schism/version.c
|
|
@@ -52,7 +52,7 @@ static const char* top_banner_normal =
|
|
#if !defined(EMPTY_VERSION)
|
|
"Schism Tracker " VERSION
|
|
#else
|
|
- "Schism Tracker built " __DATE__ " " __TIME__
|
|
+ "Schism Tracker built <>"
|
|
#endif
|
|
;
|
|
|