File remove_date_time_macros.patch of Package libewf

From: <Greg.Freemyer@gmail.com>
Upstream: openSUSE-specific, but merging is nevertheless welcome

src: kill __DATE__ and __TIME__

These macros are undesired on at least OBS (and rpmlint subsequently
warns about their use). Besides, they do not add any noticable value
because packages may get recompiled at practically any time.
                                                 -<jengelh@inai.de>

---
 ewftools/info_handle.c |    4 ----
 1 file changed, 4 deletions(-)

Index: libewf-20230212/ewftools/info_handle.c
===================================================================
--- libewf-20230212.orig/ewftools/info_handle.c
+++ libewf-20230212/ewftools/info_handle.c
@@ -7522,10 +7522,6 @@ int info_handle_dfxml_build_environment_
 #endif
 	fprintf(
 	 stream,
-	 "\t\t\t<compilation_date>" __DATE__ " " __TIME__ "</compilation_date>\n" );
-
-	fprintf(
-	 stream,
 	 "\t\t\t<library name=\"libewf\" version=\"%s\"/>\n",
 	 LIBEWF_VERSION_STRING );
 
openSUSE Build Service is sponsored by