packages BUGFIX bad name of install files and dependencies, missing change format for date
diff --git a/packages/local-rpm.sh.in b/packages/local-rpm.sh.in
index f9c66c2..776c8dd 100755
--- a/packages/local-rpm.sh.in
+++ b/packages/local-rpm.sh.in
@@ -1,5 +1,7 @@
 #!/usr/bin/env bash
 
+LOCAL_LC_TIME=$LC_TIME
+export LC_TIME="en_US.UTF-8"
 cd "@PROJECT_SOURCE_DIR@" && tar --exclude="@EXCLUDE_BUILD_DIR@" --exclude=./.git* -zcvf "@PROJECT_BINARY_DIR@/@GIT_BRANCH@.tar.gz" . --transform 's/./libyang-@GIT_BRANCH@/'
 cd @PROJECT_BINARY_DIR@
 mkdir -p rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS,tmp}
@@ -9,3 +11,4 @@
 echo " @LIBYANG_VERSION@" >>rpms/SPECS/libyang.spec
 git log -10 --pretty=format:"- %s (%aN)" >>rpms/SPECS/libyang.spec 2>/dev/null || echo "- unknown changes" >>rpms/SPECS/libyang.spec
 rpmbuild --ba rpms/SPECS/libyang.spec --define "%_topdir @PROJECT_BINARY_DIR@/rpms"
+export LC_TIME=$LOCAL_LC_TIME