From: Florian Haas <[email protected]>

Failure to force "C" dates will have RPM et al. complain about invalid
dates and timestamps.
---
 Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0929ca7..252caf1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -123,7 +123,7 @@ clean-generic:
 
 $(SPEC): $(SPEC).in
        rm -f $@-t $@
-       LC_ALL=C date="$(shell date "+%a %b %d %Y")" && \
+       date="$(shell LC_ALL=C date "+%a %b %d %Y")" && \
        if [ -f .tarball-version ]; then \
                gitver="$(shell cat .tarball-version)" && \
                rpmver=$$gitver && \
@@ -190,7 +190,7 @@ gen_start_date = 2000-01-01
 .PHONY: gen-ChangeLog
 gen-ChangeLog:
        if test -d .git; then                                           \
-               $(top_srcdir)/build-aux/gitlog-to-changelog             \
+               LC_ALL=C $(top_srcdir)/build-aux/gitlog-to-changelog            
\
                        --since=$(gen_start_date) > $(distdir)/cl-t;    \
                rm -f $(distdir)/ChangeLog;                             \
                mv $(distdir)/cl-t $(distdir)/ChangeLog;                \
-- 
1.7.4.4

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to