SHA256
1
0
forked from pool/libewf
libewf/remove_date_time_macros.patch
Stephan Kulow 4c92821390 Accepting request 185879 from security
Update to 0~20130416
major specfile reorganization to match libyal template
part of summer 2013 libyal refresh for opensuse 13.1

OBS-URL: https://build.opensuse.org/request/show/185879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libewf?expand=0&rev=7
2013-08-05 18:46:42 +00:00

26 lines
884 B
Diff

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>
Index: libewf-20120813/ewftools/info_handle.c
===================================================================
--- libewf-20120813.orig/ewftools/info_handle.c
+++ libewf-20120813/ewftools/info_handle.c
@@ -4193,10 +4193,6 @@ int dfxml_build_environment_fprint(
#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 );