Skip to content

Commit 2dd75de

Browse files
committed
build: Correctly generate spec file's date
LC_ALL=C was outside of the shell environment so the date was incorrect in the spec file if the system default language was not C or English. Signed-off-by: Christine Caulfield <[email protected]>
1 parent 09cba8c commit 2dd75de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ clean-generic:
6060

6161
$(SPEC): $(SPEC).in
6262
$(AM_V_GEN)rm -f $@-t $@
63-
LC_ALL=C date="$(shell date "+%a %b %d %Y")" && \
63+
date="$(shell LC_ALL=C date "+%a %b %d %Y")" && \
6464
if [ -f .tarball-version ]; then \
6565
gitver="$(shell cat .tarball-version)" && \
6666
rpmver=$$gitver && \

0 commit comments

Comments
 (0)